summaryrefslogtreecommitdiff
path: root/solenv/gbuild
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/gbuild')
-rw-r--r--solenv/gbuild/platform/com_GCC_defs.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index 5cc24413bb45..9b61d6f3fb7f 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -62,6 +62,7 @@ gb_CFLAGS_COMMON := \
-Wundef \
-Wunreachable-code \
$(if $(and $(COM_IS_CLANG),$(or $(findstring icecc,$(CC)),$(findstring icecc,$(CCACHE_PREFIX)))),,-Wunused-macros) \
+ $(if $(COM_IS_CLANG),-Wembedded-directive) \
-finput-charset=UTF-8 \
-fmessage-length=0 \
-fno-common \
@@ -78,6 +79,7 @@ gb_CXXFLAGS_COMMON := \
-Wundef \
-Wunreachable-code \
$(if $(and $(COM_IS_CLANG),$(or $(findstring icecc,$(CC)),$(findstring icecc,$(CCACHE_PREFIX)))),,-Wunused-macros) \
+ $(if $(COM_IS_CLANG),-Wembedded-directive) \
-finput-charset=UTF-8 \
-fmessage-length=0 \
-fno-common \