X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=Makefile;h=20152c5bf3f6cfa361066c45a33cf097d3917a73;hp=b3d1bc31461e2cbe7249a7a3cc01c1f0ecbd2415;hb=934ff4a5eb5ee0d2a2de1f9a0d313d7f4bccb4c6;hpb=48d6375817d3834e934bec6849cdd08daaa3c9b2 diff --git a/Makefile b/Makefile index b3d1bc3..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 @@ -160,6 +160,7 @@ SPLINTFLAGS = \ -realcompare \ -observertrans \ -shiftnegative \ + -freshtrans \ -abstract \ -statictrans \ -castfcnptr