diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-05-07 17:02:40 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-05-15 14:02:04 -0400 |
commit | 233adfe66026a3968f50333d2a48c954356e9786 (patch) | |
tree | 95df2e3b1016619776f8d6f007c360d9d6fd640d /Makefile | |
parent | 450c14b28631455ea61eb15bebe5579268b228ef (diff) | |
download | kutter-233adfe66026a3968f50333d2a48c954356e9786.tar.gz kutter-233adfe66026a3968f50333d2a48c954356e9786.tar.xz kutter-233adfe66026a3968f50333d2a48c954356e9786.zip |
build: Add __visible to variables in compile_time_request.c
Add __visible to generated code in compile_time_request.c so that the
main code can be compiled with -fwhole-program.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ CFLAGS := -I$(OUT) -Isrc -I$(OUT)board-generic/ -O2 -MD -g \ CFLAGS += -flto -fwhole-program -fno-use-linker-plugin CFLAGS_klipper.o = $(CFLAGS) -Wl,-r -nostdlib -CFLAGS_klipper.elf = $(CFLAGS) -Wl,--gc-sections -fno-whole-program +CFLAGS_klipper.elf = $(CFLAGS) -Wl,--gc-sections CPPFLAGS = -I$(OUT) -P -MD -MT $@ |