-fshort-enums in release mode
This commit is contained in:
parent
8e77f810ec
commit
68af34c428
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -10,6 +10,7 @@ ifneq ($(DEBUG), 1)
|
||||||
CFLAGS += -fno-exceptions -fno-asynchronous-unwind-tables -fno-ident
|
CFLAGS += -fno-exceptions -fno-asynchronous-unwind-tables -fno-ident
|
||||||
CFLAGS += -fno-unwind-tables -fno-stack-protector -fno-plt -fno-pic
|
CFLAGS += -fno-unwind-tables -fno-stack-protector -fno-plt -fno-pic
|
||||||
CFLAGS += -O3 -std=c99 -march=native -mtune=native -fomit-frame-pointer
|
CFLAGS += -O3 -std=c99 -march=native -mtune=native -fomit-frame-pointer
|
||||||
|
CFLAGS += -fshort-enums
|
||||||
else
|
else
|
||||||
CFLAGS += -g -O0 -std=c99 -march=native -mtune=native
|
CFLAGS += -g -O0 -std=c99 -march=native -mtune=native
|
||||||
CFLAGS += -DDEBUG
|
CFLAGS += -DDEBUG
|
||||||
|
|
Loading…
Reference in a new issue