Skip to content

Commit af8a981

Browse files
committed
Fix auto flags for Clang++.
This fixes GitHub issue #106.
1 parent 83dde48 commit af8a981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/cs_auto_flags.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ elif test "x$cs_gxx" = "xclang"; then
768768
cs_cxx_compiler_known=yes
769769

770770
# Default compiler flags
771-
cxxlags_default="-Wall -Wshadow -Wpointer-arith -Wmissing-prototypes -Wuninitialized -Wunused"
771+
cxxflags_default="-Wall -Wshadow -Wpointer-arith -Wmissing-prototypes -Wuninitialized -Wunused"
772772
cxxflags_default_dbg="-g -O0"
773773
cxxflags_default_opt="-O2"
774774
cxxflags_default_hot="-O3"

0 commit comments

Comments
 (0)