From: Gustavo Zacarias Date: Fri, 5 Jun 2015 00:28:47 +0000 (-0300) Subject: gcc/gcc-final: install libatomic via HOST_GCC_FINAL_GCC_LIB_DIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1cf34a39538e58ecf50d091482b2304c2f7e6d8;p=buildroot.git gcc/gcc-final: install libatomic via HOST_GCC_FINAL_GCC_LIB_DIR Otherwise it's a no-op for sh4. Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk index 8d7009bbad..16bf4eec65 100644 --- a/package/gcc/gcc-final/gcc-final.mk +++ b/package/gcc/gcc-final/gcc-final.mk @@ -131,9 +131,9 @@ endef HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_FINAL_INSTALL_LIBGCC define HOST_GCC_FINAL_INSTALL_LIBATOMIC - -cp -dpf $(HOST_DIR)/usr/$(GNU_TARGET_NAME)/lib*/libatomic* \ + -cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/libatomic* \ $(STAGING_DIR)/lib/ - -cp -dpf $(HOST_DIR)/usr/$(GNU_TARGET_NAME)/lib*/libatomic* \ + -cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/libatomic* \ $(TARGET_DIR)/lib/ endef