aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR
diff options
context:
space:
mode:
authorFabio Utzig <utzig@utzig.org>2015-07-26 14:16:48 +0000
committerFabio Utzig <utzig@utzig.org>2015-07-26 14:16:48 +0000
commitc92dbedf21284d77722ac2b4d9374982a1dcd80c (patch)
tree7c64ec83ab831a76e0fe46d7d25d0f4ae9714c9f /demos/AVR
parent0e66de1991590869f7deafc1b14447360be40869 (diff)
downloadChibiOS-c92dbedf21284d77722ac2b4d9374982a1dcd80c.tar.gz
ChibiOS-c92dbedf21284d77722ac2b4d9374982a1dcd80c.tar.bz2
ChibiOS-c92dbedf21284d77722ac2b4d9374982a1dcd80c.zip
[AVR] Add -mrelax compiler option
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8109 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/AVR')
-rw-r--r--demos/AVR/NIL-ARDUINOMEGA/Makefile1
-rw-r--r--demos/AVR/RT-ARDUINOMEGA/Makefile1
2 files changed, 2 insertions, 0 deletions
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