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 1b8104658..bef430d12 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -66,7 +66,7 @@ CONFIGURE_ARGS+= --host=$(GNU_TARGET_NAME) \
--disable-libstdcxx-pch \
--disable-libsanitizer \
--disable-libitm \
- --enable-install-libiberty \
+ --disable-install-libiberty \
--enable-cxx-flags="${TARGET_LDFLAGS}"
# disable honour cflags stuff
@@ -74,6 +74,7 @@ XAKE_FLAGS+= GCC_HONOUR_COPTS=s
pre-configure:
$(SED) 's@\./fixinc\.sh@-c true@' $(WRKSRC)/gcc/Makefile.in
+ $(SED) 's/install_to_$$(INSTALL_DEST) //' ${WRKSRC}/libiberty/Makefile.in
gcc-install:
${INSTALL_DIR} ${IDIR_GCC}/usr/lib/gcc ${IDIR_GCC}/usr/bin