summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index af036de1a..87ab35248 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -132,8 +132,10 @@ GCC_CONFOPTS+= --with-arch=$(ADK_TARGET_GCC_ARCH)
endif
ifneq ($(ADK_TARGET_FLOAT),)
+ifneq ($(ADK_TARGET_ARCH_OR1K),y)
GCC_CONFOPTS+= --with-float=$(ADK_TARGET_FLOAT)
endif
+endif
ifneq ($(ADK_TARGET_FPU),)
GCC_CONFOPTS+= --with-fpu=$(ADK_TARGET_FPU)
@@ -412,6 +414,8 @@ $(WRKBUILD)/.final:
ifeq ($(ADK_TARGET_CPU_CF),y)
find $(STAGING_TARGET_DIR) -name libgcc.a -print | while read t; do $(GNU_TARGET_NAME)-ar dv "$t" _ctors.o; done
endif
+ # install libatomic including .so symlink
+ -$(CP) $(GCC_BUILD_DIR_FINAL)/$(GNU_TARGET_NAME)/libatomic/.libs/libatomic*.so* $(STAGING_TARGET_DIR)/usr/lib
# cleanup unneeded docs
rm -rf $(TOOLCHAIN_DIR)/usr/share
# cleanup unneeded libtool files