Skip to content

Commit 750fad4

Browse files
committed
Fix auto flags for Clang++.
Cherry picked from commit af8a981 on master. This fixes GitHub issue #106.
1 parent 66acb0b commit 750fad4

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
@@ -826,7 +826,7 @@ elif test "x$cs_gxx" = "xclang"; then
826826
cs_cxx_compiler_known=yes
827827

828828
# Default compiler flags
829-
cxxlags_default="-Wall -Wshadow -Wpointer-arith -Wmissing-prototypes -Wuninitialized -Wunused"
829+
cxxflags_default="-Wall -Wshadow -Wpointer-arith -Wmissing-prototypes -Wuninitialized -Wunused"
830830
cxxflags_default_dbg="-g -O0"
831831
cxxflags_default_opt="-O2"
832832
cxxflags_default_hot="-O3"

0 commit comments

Comments
 (0)