updated on Sat Jan 21 12:00:39 UTC 2012
[aur-mirror.git] / renpy64 / Renpy-build.patch
blob8c468228be2b7273ea8cb6b108a2d4f3ba700900
1 --- build.original.sh 2009-12-12 23:08:18.000000000 +0100
2 +++ build.sh 2010-04-07 02:38:08.412228052 +0200
3 @@ -43,14 +43,14 @@
4 # export LDFLAGS="-gstabs -L$INSTALL/lib $LDFLAGS"
6 # Production
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"
21 OLD_CC="$CC"