Skip to content

Commit

Permalink
make.sh: c{8,9}9 builds need -fms-extensions flag to compile
Browse files Browse the repository at this point in the history
As per TROUBLESHOOTING section of the GeoIP library README
  • Loading branch information
agladysh committed Jan 26, 2012
1 parent e80fc6c commit 0813892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ set -e
echo "----> Going pedantic all over the source"

echo "--> c89..."
gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/*.c -Isrc/ -Wall --pedantic -Werror --std=c89
gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/*.c -Isrc/ -Wall --pedantic -Werror --std=c89 -fms-extensions

echo "--> c99..."
gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/*.c -Isrc/ -Wall --pedantic -Werror --std=c99
gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/*.c -Isrc/ -Wall --pedantic -Werror --std=c99 -fms-extensions

echo "--> c++98..."
gcc -xc++ -O2 -fPIC -I/usr/include/lua5.1 -c src/*.c -Isrc/ -Wall --pedantic -Werror --std=c++98
Expand Down

0 comments on commit 0813892

Please sign in to comment.