aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-04-23 19:42:38 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-04-24 08:54:10 -0400
commit1878da228d3e96f86f7130d942801e98e03ddc84 (patch)
treefca23f18d1ae1c63889051e7410d7c46e873ecd0 /Makefile
parent37865d69a2cb427e75e2bf49e686d00f9d6a0efe (diff)
downloadkutter-1878da228d3e96f86f7130d942801e98e03ddc84.tar.gz
kutter-1878da228d3e96f86f7130d942801e98e03ddc84.tar.xz
kutter-1878da228d3e96f86f7130d942801e98e03ddc84.zip
build: Add workaround to suppress broken avr-gcc "misspelled" warnings
Detect avr gcc v4.8.1 and then disable warnings during the klipper.o linking to suppress bogus "misspelled signal handler" warnings. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 14b0c20e..9533e85a 100644
--- a/Makefile
+++ b/Makefile
@@ -83,7 +83,7 @@ $(OUT)declfunc.lds: src/declfunc.lds.S
$(OUT)klipper.o: $(patsubst %.c, $(OUT)src/%.o,$(src-y)) $(OUT)declfunc.lds
@echo " Linking $@"
- $(Q)$(CC) $(CFLAGS) -Wl,-r -Wl,-T,$(OUT)declfunc.lds -nostdlib $(patsubst %.c, $(OUT)src/%.o,$(src-y)) -o $@
+ $(Q)$(CC) $(CFLAGS) $(CFLAGS_klipper.o) -Wl,-r -Wl,-T,$(OUT)declfunc.lds -nostdlib $(patsubst %.c, $(OUT)src/%.o,$(src-y)) -o $@
$(OUT)compile_time_request.o: $(OUT)klipper.o ./scripts/buildcommands.py
@echo " Building $@"