From c92dbedf21284d77722ac2b4d9374982a1dcd80c Mon Sep 17 00:00:00 2001 From: Fabio Utzig Date: Sun, 26 Jul 2015 14:16:48 +0000 Subject: [AVR] Add -mrelax compiler option git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8109 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/AVR/NIL-ARDUINOMEGA/Makefile | 1 + demos/AVR/RT-ARDUINOMEGA/Makefile | 1 + 2 files changed, 2 insertions(+) (limited to 'demos/AVR') diff --git a/demos/AVR/NIL-ARDUINOMEGA/Makefile b/demos/AVR/NIL-ARDUINOMEGA/Makefile index 9c2f14a3e..f1c364509 100644 --- a/demos/AVR/NIL-ARDUINOMEGA/Makefile +++ b/demos/AVR/NIL-ARDUINOMEGA/Makefile @@ -150,6 +150,7 @@ CFLAGS += -Wstrict-prototypes CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst) CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) CFLAGS += $(CSTANDARD) +CFLAGS += -mrelax #---------------- Compiler Options C++ ---------------- # -g*: generate debugging information diff --git a/demos/AVR/RT-ARDUINOMEGA/Makefile b/demos/AVR/RT-ARDUINOMEGA/Makefile index a4d4bd621..feae77037 100644 --- a/demos/AVR/RT-ARDUINOMEGA/Makefile +++ b/demos/AVR/RT-ARDUINOMEGA/Makefile @@ -151,6 +151,7 @@ CFLAGS += -Wstrict-prototypes CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst) CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) CFLAGS += $(CSTANDARD) +CFLAGS += -mrelax #---------------- Compiler Options C++ ---------------- # -g*: generate debugging information -- cgit v1.2.3