summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam4e-ek
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-10-25 15:23:14 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-10-25 15:23:14 -0600
commit914e11841c7283a7180e5ef2b9ce0e7774493fd4 (patch)
tree5daff645fd0f94fccd2d007e88fa3f73d5751ead /nuttx/configs/sam4e-ek
parentd7c6a7d5c3f3af60ff144a87b6d477d0fa6c016f (diff)
downloadpx4-nuttx-914e11841c7283a7180e5ef2b9ce0e7774493fd4.tar.gz
px4-nuttx-914e11841c7283a7180e5ef2b9ce0e7774493fd4.tar.bz2
px4-nuttx-914e11841c7283a7180e5ef2b9ce0e7774493fd4.zip
SAM4E-EK: Add -fno-strict-aliasing
Diffstat (limited to 'nuttx/configs/sam4e-ek')
-rw-r--r--nuttx/configs/sam4e-ek/nsh/Make.defs2
-rw-r--r--nuttx/configs/sam4e-ek/nxwm/Make.defs2
-rw-r--r--nuttx/configs/sam4e-ek/usbnsh/Make.defs2
3 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/sam4e-ek/nsh/Make.defs b/nuttx/configs/sam4e-ek/nsh/Make.defs
index 6901dba7c..88093d81c 100644
--- a/nuttx/configs/sam4e-ek/nsh/Make.defs
+++ b/nuttx/configs/sam4e-ek/nsh/Make.defs
@@ -75,7 +75,7 @@ endif
ARCHCFLAGS = -fno-builtin
ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fno-rtti
-ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
+ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -fno-strict-aliasing
ARCHWARNINGSXX = -Wall -Wshadow
ARCHDEFINES =
ARCHPICFLAGS = -fpic -msingle-pic-base -mpic-register=r10
diff --git a/nuttx/configs/sam4e-ek/nxwm/Make.defs b/nuttx/configs/sam4e-ek/nxwm/Make.defs
index 744cc0aa3..021af01ae 100644
--- a/nuttx/configs/sam4e-ek/nxwm/Make.defs
+++ b/nuttx/configs/sam4e-ek/nxwm/Make.defs
@@ -75,7 +75,7 @@ endif
ARCHCFLAGS = -fno-builtin
ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fno-rtti
-ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
+ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -fno-strict-aliasing
ARCHWARNINGSXX = -Wall -Wshadow
ARCHDEFINES =
ARCHPICFLAGS = -fpic -msingle-pic-base -mpic-register=r10
diff --git a/nuttx/configs/sam4e-ek/usbnsh/Make.defs b/nuttx/configs/sam4e-ek/usbnsh/Make.defs
index 4e1a5ac40..51c8492eb 100644
--- a/nuttx/configs/sam4e-ek/usbnsh/Make.defs
+++ b/nuttx/configs/sam4e-ek/usbnsh/Make.defs
@@ -75,7 +75,7 @@ endif
ARCHCFLAGS = -fno-builtin
ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fno-rtti
-ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
+ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -fno-strict-aliasing
ARCHWARNINGSXX = -Wall -Wshadow
ARCHDEFINES =
ARCHPICFLAGS = -fpic -msingle-pic-base -mpic-register=r10