summaryrefslogtreecommitdiff
path: root/package/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/gcc/Makefile')
-rw-r--r--package/gcc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index 1f2ce8f99..faf1f9e31 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -36,7 +36,8 @@ CONFIGURE_ARGS+= --enable-languages=c,c++ \
--disable-libmudflap \
--disable-libgomp \
--disable-multilib \
- --disable-libstdcxx-pch
+ --disable-libstdcxx-pch \
+ --enable-cxx-flags="${TARGET_LDFLAGS}"
post-install:
${INSTALL_DIR} ${IDIR_GCC}/usr/lib/gcc ${IDIR_GCC}/usr/bin