From 914e11841c7283a7180e5ef2b9ce0e7774493fd4 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 25 Oct 2014 15:23:14 -0600 Subject: SAM4E-EK: Add -fno-strict-aliasing --- nuttx/configs/sam4e-ek/nsh/Make.defs | 2 +- nuttx/configs/sam4e-ek/nxwm/Make.defs | 2 +- nuttx/configs/sam4e-ek/usbnsh/Make.defs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'nuttx/configs/sam4e-ek') 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 -- cgit v1.2.3