summaryrefslogtreecommitdiff
path: root/community/wine/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/wine/PKGBUILD')
-rw-r--r--community/wine/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/wine/PKGBUILD b/community/wine/PKGBUILD
index 18f179961..9528e2edb 100644
--- a/community/wine/PKGBUILD
+++ b/community/wine/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 60678 2011-12-16 21:03:03Z svenstaro $
+# $Id: PKGBUILD 61124 2011-12-21 21:17:31Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Eduardo Romero <eduardo@archlinux.org>
@@ -6,7 +6,7 @@
pkgname=wine
pkgver=1.3.35
-pkgrel=1
+pkgrel=3
_pkgbasever=${pkgver/rc/-rc}
@@ -89,6 +89,10 @@ build() {
rm -rf $pkgname-{32,64}-build
mkdir $pkgname-32-build
+ # These additional CFLAGS solve FS#27662
+ export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -D_FORTIFY_SOURCE=0"
+ export CXXFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -D_FORTIFY_SOURCE=0"
+
if [[ $CARCH == x86_64 ]]; then
msg2 "Building Wine-64..."