Tweaked compiler options for maximizing performance

This commit is contained in:
Dimitris Panokostas 2019-11-19 19:30:48 +01:00
parent 074da396b8
commit 401132c674

View file

@ -193,7 +193,7 @@ XML_CFLAGS := $(shell xml2-config --cflags )
LDFLAGS += -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
ifndef DEBUG
CFLAGS += -Ofast -frename-registers -fPIC
CFLAGS += -Ofast
else
CFLAGS += -g -rdynamic -funwind-tables -DDEBUG -Wl,--export-dynamic
endif