Skip to content

Commit

Permalink
autogen: test compare strings with != not -ne
Browse files Browse the repository at this point in the history
Signed-off-by: Loic Dachary <[email protected]>
  • Loading branch information
Loic Dachary committed Dec 19, 2013
1 parent b2a8000 commit f193925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion do_autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ if [ "${debug_level}" -ge 3 ]; then
-Wno-missing-field-initializers -Wno-missing-declarations"
fi
if [ "${debug_level}" -ge 4 ]; then
if [ "${CXX}" -ne "clang++" ]; then
if [ "${CXX}" != "clang++" ]; then
CXXFLAGS="${CXXFLAGS} -Wstrict-null-sentinel -Woverloaded-virtual"
else
CXXFLAGS="${CXXFLAGS} -Woverloaded-virtual"
Expand Down

0 comments on commit f193925

Please sign in to comment.