aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/build/cxx/rules.make
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/build/cxx/rules.make')
-rw-r--r--dist/examples/build/cxx/rules.make5
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/examples/build/cxx/rules.make b/dist/examples/build/cxx/rules.make
index ba521e1..541d700 100644
--- a/dist/examples/build/cxx/rules.make
+++ b/dist/examples/build/cxx/rules.make
@@ -12,6 +12,11 @@ ifeq ($(cxx_id),gnu)
CXXFLAGS := -W -Wall -O3
endif
+# Clang
+#
+ifeq ($(cxx_id),clang)
+ CXXFLAGS := -W -O3
+endif
# Intel C++
#