toolchain compile problems
Erich Titl <[email protected]> Sun, 24 Sep 2017 22:39:49 +0200
| Newsgroups | gmane.linux.leaf.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Folks
I tried to compile the toolchain in branch maint and it aborted due to
the -Werror compile flag.
In order to overcome this I had to diesable -Werror in buildtool.mk
mega@leafbuilder64:~/leaf/devel/bering-uclibc/repo/toolchain$ git diff
diff --git a/repo/toolchain/buildtool.mk b/repo/toolchain/buildtool.mk
index 25ede65..24d1b4b 100644
--- a/repo/toolchain/buildtool.mk
+++ b/repo/toolchain/buildtool.mk
@@ -19,6 +19,7 @@ GCC_CONFOPTS= --with-gnu-ld --with-gnu-as \
--disable-libssp \
--disable-libquadmath \
--disable-libgomp \
+ --disable-werror \
--disable-multilib
#save flags for cross-compiling target libs, and clean flags for toolchain
@@ -90,7 +91,8 @@ $(BINUTILS_BUILD_DIR)/Makefile:
$(BINUTILS_DIR)/.source $(TOOLCHAIN_LIBC)-header
--includedir=$(BT_TOOLCHAIN_DIR)/usr/include \
--with-sysroot=$(BT_TOOLCHAIN_DIR) \
--with-build-sysroot=$(BT_TOOLCHAIN_DIR) \
- --disable-multilib)
+ --disable-multilib \
+ --disable-werror )
$(BINUTILS_BUILD_DIR)/.build: $(BINUTILS_BUILD_DIR)/Makefile
(cd $(BINUTILS_BUILD_DIR) && \
Anyone having a better idea?
cheers
ET
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
leaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-devel
smime.p7s
(application/pkcs7-signature, 1.9 KB) - not displayed