Skip to content

Commit

Permalink
-Fix: disable -ansi when asla sound is used
Browse files Browse the repository at this point in the history
the inline keywork make everything fail
  • Loading branch information
miniupnp committed Oct 14, 2019
1 parent 2b5ec42 commit 508e54c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config.lib
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -742,7 +742,10 @@ make_compiler_cflags() {
fi fi


if [ "$os" != "TOS" ] && [ "$os" != "DOS" ] && [ $cc_version -lt 70 ] ; then if [ "$os" != "TOS" ] && [ "$os" != "DOS" ] && [ $cc_version -lt 70 ] ; then
flags="$flags -ansi -pedantic" if [ "$with_asound" = "0" ] ; then
flags="$flags -ansi"
fi
flags="$flags -pedantic"
fi fi
flags="$flags -fno-common" flags="$flags -fno-common"
flags="$flags -Wall -Wsign-compare -Wundef" flags="$flags -Wall -Wsign-compare -Wundef"
Expand Down

0 comments on commit 508e54c

Please sign in to comment.