summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKoenig, Joerg <Joerg.Koenig@techsat.com>2020-09-15 02:20:03 (GMT)
committerKoenig, Joerg <jck@techsat.com>2020-09-15 02:21:32 (GMT)
commit24fbe8c9f7f59e14eec7f5b506d72b0934020f06 (patch)
tree5a43def268f96552d83391c7f49f78da143995f7 /Makefile
parent522c812f2be2d312b5f5e8053b80304ea23a614b (diff)
downloadgcc-compiler-suite-24fbe8c9f7f59e14eec7f5b506d72b0934020f06.zip
gcc-compiler-suite-24fbe8c9f7f59e14eec7f5b506d72b0934020f06.tar.gz
gcc-compiler-suite-24fbe8c9f7f59e14eec7f5b506d72b0934020f06.tar.bz2
Fixed build of GCC; added symbols for libstdc++refs/changes/50/12750/2
Change-Id: I75a46fb713cc06cde888f42e129ece41a106df81
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index e87e0bf..240e49d 100644
--- a/Makefile
+++ b/Makefile
@@ -211,7 +211,7 @@ lingcc-binutils:
cd $(BUILD_DIR)/binutils ;\
LDLAGS="-static-libgcc -static-libstdc++" \
$(UNPACK_DIR)/binutils-$(VERSION_BINUTILS)/configure \
- --with-pkgversion="$(GCC_PKGVERSION)" \
+ --with-pkgversion=$(GCC_PKGVERSION) \
--prefix=$(INST_BASE)/gcc \
--disable-nls \
--enable-deterministic-archives \
@@ -228,7 +228,7 @@ lingcc-gcc:
cd $(BUILD_DIR)/gcc && \
LDLAGS="-static-libgcc -static-libstdc++" \
$(UNPACK_DIR)/gcc-$(VERSION_GCC)/configure \
- --with-pkgversion="$(GCC_PKGVERSION)" \
+ --with-pkgversion=$(GCC_PKGVERSION) \
--prefix=$(INST_BASE)/gcc \
--build=$(ARCH64) \
--host=$(ARCH64) \
@@ -236,6 +236,8 @@ lingcc-gcc:
--disable-nls \
--enable-multilib \
--with-arch-32=i686 \
+ --with-abi=m64 \
+ --with-multilib-list=m32,m64,mx32 \
--with-tune=generic\
--enable-checking=release \
--enable-languages=$(LANGUAGES) \
@@ -245,8 +247,9 @@ lingcc-gcc:
--enable-static \
--with-tune-64=core2 \
--disable-werror \
- --disable-symvers \
+ --enable-symvers \
--enable-threads=posix \
+ --with-default-libstdcxx-abi=new \
--disable-sjlj-exceptions \
--with-dwarf2 \
--with-arch-directory=lib64 \
@@ -327,7 +330,7 @@ xgcc-build-binutils:
CFLAGS="-O2 -pipe" \
CXXFLAGS="-O2 -pipe" \
$(UNPACK_DIR)/binutils-$(VERSION_BINUTILS)/configure \
- --with-pkgversion="$(GCC_PKGVERSION)" \
+ --with-pkgversion=$(GCC_PKGVERSION) \
--prefix=$(XGCC_INST_DIR) \
--disable-nls \
--enable-deterministic-archives \
@@ -407,7 +410,7 @@ xgcc-gcc-pass1:
CFLAGS="-O2 -pipe" \
CXXFLAGS="-O2 -pipe" \
$(UNPACK_DIR)/gcc-$(VERSION_GCC)/configure \
- --with-pkgversion="$(GCC_PKGVERSION)" \
+ --with-pkgversion=$(GCC_PKGVERSION) \
--prefix=$(XGCC_INST_DIR) \
--with-sysroot=$(XGCC_INST_DIR) \
--disable-nls \
@@ -637,7 +640,7 @@ wingcc-binutils:
CC=$(XGCC64) CXX=$(XGPP64) \
LDLAGS="-static-libgcc -static-libstdc++" \
$(UNPACK_DIR)/binutils-$(VERSION_BINUTILS)/configure \
- --with-pkgversion="$(GCC_PKGVERSION)" \
+ --with-pkgversion=$(GCC_PKGVERSION) \
--prefix=$(WINGCC_INST_DIR) \
--disable-nls \
--enable-deterministic-archives \
@@ -715,7 +718,7 @@ wingcc-gcc:
CC=$(XGCC64) CXX=$(XGPP64) \
LDLAGS="-static-libgcc -static-libstdc++" \
$(UNPACK_DIR)/gcc-$(VERSION_GCC)/configure \
- --with-pkgversion="$(GCC_PKGVERSION)" \
+ --with-pkgversion=$(GCC_PKGVERSION) \
--prefix=$(WINGCC_INST_DIR) \
--with-sysroot=$(WINGCC_INST_DIR) \
--disable-nls \
@@ -731,7 +734,7 @@ wingcc-gcc:
--enable-shared \
--with-tune-64=core2 \
--disable-werror \
- --disable-symvers \
+ --enable-symvers \
--enable-threads=posix \
--disable-sjlj-exceptions \
--with-dwarf2 \