1
0
Ver Fonte

do not install libiberty in staging area

Waldemar Brodkorb há 10 anos atrás
pai
commit
b0b05ceb8e

+ 1 - 0
package/binutils/Makefile

@@ -33,6 +33,7 @@ endif
 
 TARGET_CFLAGS+=		-fPIC
 CONFIGURE_ARGS+=	--disable-werror \
+			--disable-install-libiberty \
 			--host=$(GNU_TARGET_NAME) \
 			--target=$(GNU_TARGET_NAME)
 # disable honour cflags stuff

+ 2 - 1
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

+ 2 - 2
package/gdb/Makefile

@@ -26,6 +26,8 @@ CONFIGURE_ARGS+=	--without-uiout \
 			--without-python \
 			--without-included-gettext \
 			--without-auto-load-safe-path \
+			--disable-install-libiberty \
+			--disable-install-libbfd \
 			--with-curses \
 			--enable-gdbmi
 
@@ -36,7 +38,5 @@ XAKE_FLAGS+=		GCC_HONOUR_COPTS:=s
 gdb-install:
 	${INSTALL_DIR} ${IDIR_GDB}/usr/bin
 	${INSTALL_BIN} ${WRKINST}/usr/bin/gdb ${IDIR_GDB}/usr/bin/
-	# shipped libbfd conflicts with system wide one
-	rm -f ${WRKINST}/usr/lib/libbfd*
 
 include ${TOPDIR}/mk/pkg-bottom.mk

+ 1 - 0
toolchain/binutils/Makefile

@@ -49,6 +49,7 @@ $(WRKBUILD)/.configured:
 		--disable-libtool-lock \
 		--disable-nls \
 		--disable-werror \
+		--disable-install-libiberty \
 		${CONFOPTS} \
 	);
 	touch $@

+ 1 - 0
toolchain/gcc/Makefile

@@ -21,6 +21,7 @@ GCC_CONFOPTS:=		--prefix=$(TOOLCHAIN_DIR)/usr \
 			--with-gnu-as \
 			--enable-tls \
 			--disable-libsanitizer \
+			--disable-install-libiberty \
 			--disable-libitm \
 			--disable-libmudflap \
 			--disable-libgomp \