X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=20152c5bf3f6cfa361066c45a33cf097d3917a73;hb=6009e2b3ea2768b2439010c9a77545bd9137b963;hp=c72b237ffa3078951bce17351789c44070048e96;hpb=3f546df67723e2ff4c7132a80af99cba8f134408;p=xonotic%2Fgmqcc.git diff --git a/Makefile b/Makefile index c72b237..20152c5 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ else #Tiny C Compiler doesn't know what -pedantic-errors is # and instead of ignoring .. just errors. ifneq ($(CC), tcc) - CFLAGS +=-pedantic-errors + CFLAGS +=-pedantic-errors -ffunction-sections -fdata-sections -Wl,-gc-sections else CFLAGS += -Wno-pointer-sign -fno-common endif