Skip to content

Commit

Permalink
Makefile.cflags: Add warning for LTO
Browse files Browse the repository at this point in the history
  • Loading branch information
Joakim Gebart committed Jul 13, 2015
1 parent 8724e6c commit 1c45f20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.cflags
Expand Up @@ -43,6 +43,7 @@ endif
CXXUWFLAGS += -std=%

ifeq ($(LTO),yes)
$(info Building with Link-Time-Optimizations is currently an experimental feature. Expect broken binaries.)
LTOFLAGS = -flto -ffat-lto-objects
CFLAGS += ${LTOFLAGS}
LINKFLAGS += ${LTOFLAGS}
Expand Down

0 comments on commit 1c45f20

Please sign in to comment.