diff options
author | Joerg Koenig <Joerg.Koenig@techsat.com> | 2018-11-29 07:25:55 (GMT) |
---|---|---|
committer | Joerg Koenig <Joerg.Koenig@techsat.com> | 2018-11-29 07:25:55 (GMT) |
commit | c073de1bd5f16e4353d7e9f50fbec7d32d84b7b9 (patch) | |
tree | 31f5ff0ef8d35a1be9bc04ed26f28e14496f39cb | |
parent | 1e39c4ace2717c992a34439bd689becdf37d4693 (diff) | |
download | gcc-compiler-suite-c073de1bd5f16e4353d7e9f50fbec7d32d84b7b9.zip gcc-compiler-suite-c073de1bd5f16e4353d7e9f50fbec7d32d84b7b9.tar.gz gcc-compiler-suite-c073de1bd5f16e4353d7e9f50fbec7d32d84b7b9.tar.bz2 |
Fixed compiler flags for wingcc-gendefrefs/changes/87/6287/1
Change-Id: I64c9ed0473ef1b75bcf286ae0b3c56cece0bc744
-rwxr-xr-x | Makefile | 3 | ||||
-rwxr-xr-x | Makefile.32 | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -689,7 +689,7 @@ wingcc-gendef: tar -zxf $(SOURCE_DIR)/gendef.tar.gz cd $(BUILD_DIR)/gendef && \ export PATH=$(XGCC_BINPATH):$(PATH) && \ - CC=$(XGCC64) CXX=$(XGPP64) genpeimg_CFLAGS="" CFLAGS="-O3 -g -Werror=implicit-fallthrough=0"\ + CC=$(XGCC64) CXX=$(XGPP64) genpeimg_CFLAGS="" CFLAGS="-O3 -g -Wno-error=cast-function-type -Werror=implicit-fallthrough=0"\ ./configure \ --host=$(XGCC_TARGET64) && \ make @@ -707,6 +707,7 @@ wingcc-zlib: AR=$(XGCC_BINPATH)/$(XGCC_PREFIX)ar \ RANLIB=$(XGCC_BINPATH)/$(XGCC_PREFIX)ranlib \ ./configure \ + --disable-werror \ --prefix=$(WINGCC_INST_DIR)/$(XGCC_TARGET64) --static && \ make clean && make # diff --git a/Makefile.32 b/Makefile.32 index 4306756..175689e 100755 --- a/Makefile.32 +++ b/Makefile.32 @@ -664,7 +664,7 @@ wingcc-gendef: tar -zxf $(SOURCE_DIR)/gendef.tar.gz cd $(BUILD_DIR)/gendef && \ export PATH=$(XGCC_BINPATH):$(PATH) && \ - CC=$(XGCC32) CXX=$(XGPP32) genpeimg_CFLAGS="" CFLAGS="-O3 -g -Werror=implicit-fallthrough=0"\ + CC=$(XGCC32) CXX=$(XGPP32) genpeimg_CFLAGS="" CFLAGS="-O3 -g -Wno-error=cast-function-type -Werror=implicit-fallthrough=0"\ ./configure \ --host=$(XGCC_TARGET32) && \ make |