1 --- build.original.sh 2009-12-12 23:08:18.000000000 +0100
2 +++ build.sh 2010-04-07 02:38:08.412228052 +0200
4 # export LDFLAGS="-gstabs -L$INSTALL/lib $LDFLAGS"
7 -export CFLAGS="$CFLAGS -O3 -I$INSTALL/include -I$INSTALL/include/freetype2"
8 -export CXXFLAGS="$CXXFLAGS -O3 -I$INSTALL/include -I$INSTALL/include/freetype2"
9 +export CFLAGS="$CFLAGS -O3 -I$INSTALL/include -fPIC -I$INSTALL/include/freetype2"
10 +export CXXFLAGS="$CXXFLAGS -O3 -I$INSTALL/include -fPIC -I$INSTALL/include/freetype2"
11 export LDFLAGS="-O3 -L$INSTALL/lib $LDFLAGS"
14 if [ "x$MSYSTEM" != "x" ]; then
15 - export CFLAGS="$CFLAGS -fno-strict-aliasing"
16 - export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
17 + export CFLAGS="$CFLAGS -fno-strict-aliasing -fPIC"
18 + export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing -fPIC"