Skip to content
Permalink
Browse files

-Fix: disable -ansi when asla sound is used

the inline keywork make everything fail
  • Loading branch information...
miniupnp committed Oct 14, 2019
1 parent 2b5ec42 commit 508e54c0bd67549a1268db2079442ba2f358fd04
Showing with 4 additions and 1 deletion.
  1. +4 −1 config.lib
@@ -742,7 +742,10 @@ make_compiler_cflags() {
fi

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
flags="$flags -fno-common"
flags="$flags -Wall -Wsign-compare -Wundef"

0 comments on commit 508e54c

Please sign in to comment.
You can’t perform that action at this time.