build: cc32: Silence warnings.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 21 Jul 2018 08:41:16 +0000 (10:41 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 21 Jul 2018 08:41:16 +0000 (10:41 +0200)
* build-aux/build-cc32.sh (CC32_CFLAGS): Silence warnings.

build-aux/build-cc32.sh

index e1189a5085cb204097280906f7c93e6fb6fa2e80..bec1fdd3ff37cdd83186169dfa3492f532c64370 100755 (executable)
@@ -63,6 +63,12 @@ CC32_CFLAGS=${CC32_CFLAGS-"
 -m32
 -nostdinc
 -nostdlib
+-Wno-discarded-qualifiers
+-Wno-int-to-pointer-cast
+-Wno-pointer-to-int-cast
+-Wno-pointer-sign
+-Wno-int-conversion
+-Wno-incompatible-pointer-types
 "}
 
 ARCHDIR=1 NOLINK=1 sh build-aux/cc32-mes.sh lib/crt0