LTO in gcc

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2017-11-04 23:52:15 +00:00
parent 926ac48224
commit 437cc4ce89
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ PCH = stdafx.h.gch
all: opt
opt: CXXFLAGS += -DNDEBUG -march=native -O3
opt: CXXFLAGS += -DNDEBUG -march=native -O3 -flto
opt: $(LIB)
debug: CXXFLAGS += -g -D_DEBUG

View File

@ -13,7 +13,7 @@ PCH = stdafx.h.gch
all: opt
opt: CXXFLAGS += -DNDEBUG -march=native -O3
opt: CXXFLAGS += -DNDEBUG -march=native -O3 -flto
opt: $(LIB)
debug: CXXFLAGS += -g -D_DEBUG

View File

@ -13,7 +13,7 @@ PCH = stdafx.h.gch
all: opt
opt: CXXFLAGS += -DNDEBUG -march=native -O3
opt: CXXFLAGS += -DNDEBUG -march=native -O3 -flto
opt: $(LIB)
debug: CXXFLAGS += -g -D_DEBUG