gcc/gcc-final: install libatomic via HOST_GCC_FINAL_GCC_LIB_DIR
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 5 Jun 2015 00:28:47 +0000 (21:28 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 6 Jun 2015 01:15:23 +0000 (03:15 +0200)
Otherwise it's a no-op for sh4.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gcc/gcc-final/gcc-final.mk

index 8d7009bbad07814ca57e8fe64af65dd1d02d7ed9..16bf4eec651ae105f92d774afd22ed55cd532a6c 100644 (file)
@@ -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