aboutsummaryrefslogtreecommitdiff
path: root/tools/build_system
diff options
context:
space:
mode:
authorChris Kay <chris.kay@arm.com>2018-10-03 09:52:51 +0100
committerronald-cron-arm <39518861+ronald-cron-arm@users.noreply.github.com>2018-10-08 17:49:02 +0200
commitc3fb0a9c71e47f5bfb79f940c2c7c07fdfb40562 (patch)
tree6fd3384522ece2e55e38b64b8d5a349df0e71847 /tools/build_system
parent6b204d13b18beffa8ab1d62e6134af2184273ba9 (diff)
build: Disable -Wdollar-in-identifier-extension warning flag
This flag stops Arm Compiler 6 from complaining about the linker-defined symbols. Change-Id: Ide8b3c0315129d04fe1aa1d126cb7131dfd1d553 Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'tools/build_system')
-rw-r--r--tools/build_system/rules.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/build_system/rules.mk b/tools/build_system/rules.mk
index e7cf38b1..44185e63 100644
--- a/tools/build_system/rules.mk
+++ b/tools/build_system/rules.mk
@@ -97,6 +97,9 @@ CFLAGS_GCC += -Wno-missing-field-initializers
# warn about the situations that have not already been fixed.
CFLAGS_CLANG += -Wno-missing-braces
+# Arm Compiler 6 uses dollar symbols in its linker-defined symbol names
+CFLAGS_CLANG += -Wno-dollar-in-identifier-extension
+
CFLAGS_GCC += -g
CFLAGS_GCC += -std=c11
CFLAGS_CLANG += -fshort-enums # Required by RTX