summaryrefslogtreecommitdiffstats
path: root/extra/libmysql/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libmysql/Pkgfile')
-rw-r--r--extra/libmysql/Pkgfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/libmysql/Pkgfile b/extra/libmysql/Pkgfile
index d771cadfe..b111dc38d 100644
--- a/extra/libmysql/Pkgfile
+++ b/extra/libmysql/Pkgfile
@@ -6,10 +6,12 @@
name=libmysql
version=5.1.36
-release=1
+release=2
source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.1/mysql-$version.tar.gz )
build () {
+ CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing"
+ CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing"
cd mysql-$version
./configure --prefix=/usr \
--sysconfdir=/etc \