aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido G√ľnther <agx@sigxcpu.org>2011-06-19 16:42:13 +0200
committerGuido G√ľnther <agx@sigxcpu.org>2011-06-19 16:42:13 +0200
commit0b76795534e091042ab000b8f2c39415d8d95aff (patch)
tree55f9c3d5fa391e576a922300be7cfc6442bc2149
parentaaab7cb61134f634df7017fb86e3e19b1aec4608 (diff)
Disable strict-aliasing as in arcboot
-rw-r--r--tip22/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tip22/Makefile b/tip22/Makefile
index 8293a87..32601bf 100644
--- a/tip22/Makefile
+++ b/tip22/Makefile
@@ -12,7 +12,7 @@ WARN_CFLAGS = -Wextra -Wall
# uncomment for debugging
#DEBUG_CFLAGS = -DDEBUG
CFLAGS += -O2 -I$(COMMONDIR) -I$(ARCLIBDIR) \
- -DSUBARCH=${SUBARCH} \
+ -DSUBARCH=${SUBARCH} -fno-strict-aliasing \
$(WARN_CFLAGS) $(MIPS_CFLAGS) $(DEBUG_CFLAGS)
ASFLAGS = -O2 -mno-abicalls -G 0 -fno-pic