aboutsummaryrefslogtreecommitdiff
path: root/config.mk.dist
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2018-05-10 17:10:02 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2018-05-16 13:52:13 +0100
commit2f2d687988c6614e3d2f8636dce5b2d1a10683e5 (patch)
treec7118037d1ce956819e92528e839495370ba43f9 /config.mk.dist
parent39b0191da32e494ca7d1e9991614d03f3126fd9f (diff)
downloadarm-optimized-routines-2f2d687988c6614e3d2f8636dce5b2d1a10683e5.tar.gz
Fix aliasing violations in old code
Old code used pointer based type punning which is considered an aliasing violation by most compilers, while union based type punning is intended to work (both by ISO C and most compilers).
Diffstat (limited to 'config.mk.dist')
-rw-r--r--config.mk.dist2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk.dist b/config.mk.dist
index b616a65..edc1a2f 100644
--- a/config.mk.dist
+++ b/config.mk.dist
@@ -18,7 +18,7 @@
HOST_CC = gcc
CC = $(CROSS_COMPILE)gcc
CFLAGS = -std=c99 -pipe -O3
-CFLAGS += -Wall -Wno-missing-braces -Wno-strict-aliasing -Wno-unused-function
+CFLAGS += -Wall -Wno-missing-braces -Wno-unused-function
# Use if the target FPU only supports single precision.
#CFLAGS += WANT_SINGLEPREC