Skip to content

Commit

Permalink
CONFIGURE: Reword compiler flag checks
Browse files Browse the repository at this point in the history
  • Loading branch information
bonki committed Jul 8, 2018
1 parent ca8b79f commit fd612a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Expand Up @@ -2090,7 +2090,7 @@ esac

# If possible, we want to use -Wglobal-constructors
# However, not all compilers support that, so check whether the active one does.
echocheck "whether -Wglobal-constructors work"
echocheck "whether C++ compiler accepts -Wglobal-constructors"
cat > $TMPC << EOF
int main() { return 0; }
EOF
Expand All @@ -2107,7 +2107,7 @@ echo $_global_constructors
# change the way we instantiate the singleton classes as done in PR #967.
# Note: we check the -Wundefined-var-template as gcc does not error out on unknown
# -Wno-xxx flags.
echocheck "whether -Wno-undefined-var-template work"
echocheck "whether C++ compiler accepts -Wno-undefined-var-template"
cat > $TMPC << EOF
int main() { return 0; }
EOF
Expand Down

0 comments on commit fd612a5

Please sign in to comment.