Remove usage of -march=native since it doesn't work with most compilers, and

also causes problems with builds on server farms where the build machine is
not the machine the code will run on.
main
rfm 16 years ago
parent 7453547c47
commit cd1d274928

@ -22,7 +22,7 @@ GCKit_HEADER_FILES = \
GCKit_LIBRARIES_DEPEND_UPON += -lpthread
GCKit_OBJCFLAGS += -Werror -std=c99 -march=native -fno-inline
GCKit_OBJCFLAGS += -Werror -std=c99 -fno-inline
include $(GNUSTEP_MAKEFILES)/library.make
include $(GNUSTEP_MAKEFILES)/tool.make

@ -62,7 +62,7 @@ libobjc_CPPFLAGS += -D__OBJC_RUNTIME_INTERNAL__=1 -D_XOPEN_SOURCE=500
# Note to Riccardo. Please do not 'fix' C99isms in this. The new ABI is only
# useful on compilers that support C99 (currently only clang), so there is no
# benefit from supporting platforms with no C99 compiler.
libobjc_CFLAGS += -std=c99 -g -march=native -fexceptions -fno-inline
libobjc_CFLAGS += -std=c99 -g -fexceptions -fno-inline
libobjc_OBJCFLAGS += $(libobjc_CFLAGS)
libobjc_LDFLAGS += -g
libobjc_LIB_DIRS += -L toydispatch/obj

@ -13,6 +13,6 @@ toydispatch_HEADER_FILES = \
toydispatch_LIBRARIES_DEPEND_UPON += -lpthread
toydispatch_CFLAGS += -Werror -std=c99 -march=native
toydispatch_CFLAGS += -Werror -std=c99
include $(GNUSTEP_MAKEFILES)/library.make

Loading…
Cancel
Save