Fix macOS build

This commit is contained in:
GriffinR 2024-12-04 19:20:14 -05:00
parent fb68c101fb
commit 522e2c647c
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ VPATH = $(srcdir)
CC = gcc
BASE_CFLAGS = -g -std=gnu11 -Werror-implicit-function-declaration
BASE_CFLAGS = -g -std=gnu11 -Werror-implicit-function-declaration -Wno-error=incompatible-pointer-types
INCLUDES = -I. -I$(srcdir)

View File

@ -64,7 +64,7 @@ ALLOCA_FINISH = true
XCFLAGS =
TCFLAGS =
# CYGNUS LOCAL nowarnings/law
CFLAGS = -g -Werror-implicit-function-declaration
CFLAGS = -g -Werror-implicit-function-declaration -Wno-error=incompatible-pointer-types
BOOT_CFLAGS = -O2 $(CFLAGS)
WARN_CFLAGS =
# END CYGNUS LOCAL

2
gcc_arm/configure vendored
View File

@ -1138,7 +1138,7 @@ cat > conftest.$ac_ext << EOF
#line 1139 "configure"
#include "confdefs.h"
main(){return(0);}
int main(){return(0);}
EOF
if { (eval echo configure:1144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes