From e1cf34a39538e58ecf50d091482b2304c2f7e6d8 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Thu, 4 Jun 2015 21:28:47 -0300 Subject: [PATCH] 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 --- package/gcc/gcc-final/gcc-final.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2