X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=Makefile;h=2e5c1eea8323b4cac1b55e9933f8d22014c7baa6;hp=a1c08f9b5e75752a3c8ad944044e82bb4a6b0a9f;hb=144672fada7324651eabbbd0eaec68ed4dd031c1;hpb=4f02d4b556b9f6e61b0deb3a18c8a8ecd1cd35e2 diff --git a/Makefile b/Makefile index a1c08f9..2e5c1ee 100644 --- a/Makefile +++ b/Makefile @@ -29,12 +29,13 @@ ifeq ($(CC), clang) -Wno-conversion \ -Wno-missing-prototypes \ -Wno-float-equal \ - -Wno-unknown-warning-option + -Wno-unknown-warning-option \ + -Wstrict-prototypes else #Tiny C Compiler doesn't know what -pedantic-errors is # and instead of ignoring .. just errors. ifneq ($(CC), tcc) - CFLAGS += -pedantic-errors + CFLAGS += -Wstrict-prototypes -pedantic-errors else CFLAGS += -Wno-pointer-sign -fno-common endif