Permalink
Browse files

-Change: remove -ansi -pedantic with GCC 7+

fixes #291
  • Loading branch information...
miniupnp committed Nov 8, 2017
1 parent c60a60e commit 3ebeeb61d6d2b28f08485a2a1171cf2fc01e3269
Showing with 1 addition and 1 deletion.
  1. +1 −1 config.lib
View
@@ -740,7 +740,7 @@ make_compiler_cflags() {
exit 1
fi
if [ "$os" != "TOS" ]; then
if [ "$os" != "TOS" ] && [ $cc_version -lt 70 ] ; then
flags="$flags -ansi -pedantic"
fi
flags="$flags -fno-common"

0 comments on commit 3ebeeb6

Please sign in to comment.