[arch-commits] Commit in freeimage/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Thu Jun 4 08:19:28 UTC 2015
Date: Thursday, June 4, 2015 @ 10:19:27
Author: svenstaro
Revision: 134747
Use clang for now
Modified:
freeimage/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-04 07:43:59 UTC (rev 134746)
+++ PKGBUILD 2015-06-04 08:19:27 UTC (rev 134747)
@@ -12,7 +12,7 @@
license=('GPL' 'custom:FIPL')
url="http://freeimage.sourceforge.net/"
depends=('gcc-libs')
-makedepends=('dos2unix')
+makedepends=('dos2unix' 'clang') # Remove clang when this compiles with gcc 5.1
source=("http://downloads.sourceforge.net/project/freeimage/Source%20Distribution/${pkgver}/FreeImage${pkgver//./}.zip")
md5sums=('459e15f0ec75d6efa3c7bd63277ead86')
@@ -22,11 +22,14 @@
export CFLAGS+=" -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS"
export CXXFLAGS+=" -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy"
+ export CC="clang"
+ export CXX="clang++"
+
cd FreeImage
make
cd ${srcdir}/FreeImagefip
- make -f Makefile.fip
+ CXX=clang++ make -f Makefile.fip
}
package() {
More information about the arch-commits
mailing list