mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #3376 from gebart/pr/lto-warning
Makefile.cflags: Add warning for LTO
This commit is contained in:
commit
bbe6547263
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user