summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2013-10-16 11:35:08 +0100
committerWill Newton <will.newton@linaro.org>2014-10-15 14:36:06 +0100
commita3e27a88b5d0e6aba3c4e72670cc0153ff2a0c49 (patch)
tree4415058ff6aebe1ffa625e5efaa23594545ee7e4
parent9aa0e64b7cbdc14d740fb20752fd5d19dd9b4cee (diff)
Makefile.am: Tighten up CFLAGS
-rw-r--r--Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 352f058..ece29d3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -209,7 +209,12 @@ libcortex_malloc_la_LDFLAGS = -version-info 1:0:0 -lpthread
AM_CFLAGS = \
-std=gnu99 -Wall -Wextra \
- -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE \
+ -Wall -Wwrite-strings -Wstrict-prototypes \
+ -fno-stack-protector -U_FORTIFY_SOURCE \
+ -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc \
+ -fno-builtin-calloc -fno-builtin-cfree \
+ -fno-builtin-memalign -fno-builtin-posix_memalign \
+ -fno-builtin-valloc -fno-builtin-pvalloc
$(AM_CPPFLAGS)
EXTRA_DIST = \