summaryrefslogtreecommitdiff
path: root/community/freeimage/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/freeimage/PKGBUILD')
-rw-r--r--community/freeimage/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/community/freeimage/PKGBUILD b/community/freeimage/PKGBUILD
index 9eff60264..7a50ca009 100644
--- a/community/freeimage/PKGBUILD
+++ b/community/freeimage/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=freeimage
pkgver=3.15.3
-pkgrel=1
+pkgrel=2
pkgdesc="Library project for developers who would like to support popular graphics image formats"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'custom:FIPL')
@@ -26,6 +26,9 @@ build() {
cp -r FreeImage FreeImagefip
+ export CFLAGS="$CFLAGS -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS"
+ export CXXFLAGS="$CXXFLAGS -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS"
+
cd FreeImage
make