summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-05-05 17:09:50 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-05-05 17:09:50 +0200
commit968e31190e1f3a2879a688058c7a8f5888428f10 (patch)
tree5f407b17e9d6891e40be86b63ed0e7211a7d87fe /community
parenteea781ff51db0dcc8e7263625d9b206d8b498b14 (diff)
Build fixes.
Diffstat (limited to 'community')
-rw-r--r--community/log4cpp/PKGBUILD3
-rw-r--r--community/luminancehdr/PKGBUILD2
2 files changed, 4 insertions, 1 deletions
diff --git a/community/log4cpp/PKGBUILD b/community/log4cpp/PKGBUILD
index 63d226d8f..b0ded1abc 100644
--- a/community/log4cpp/PKGBUILD
+++ b/community/log4cpp/PKGBUILD
@@ -16,7 +16,8 @@ md5sums=('b9ef6244baa5e5e435f35e0b9474b35d')
build() {
cd "$srcdir/$pkgname"
- ./configure --prefix=/usr --disable-doxygen --disable-dot --without-idsa
+ ./configure --prefix=/usr --disable-doxygen --disable-dot --without-idsa \
+ --build=$CHOST
make
}
diff --git a/community/luminancehdr/PKGBUILD b/community/luminancehdr/PKGBUILD
index e83b18e8a..f52844ac4 100644
--- a/community/luminancehdr/PKGBUILD
+++ b/community/luminancehdr/PKGBUILD
@@ -22,6 +22,8 @@ sha256sums=('7a2a81cd0f2da6b6780bdd47e5f902c9dfaeb8107d763ea63007b6fcdcb4d23b')
build() {
cd "${srcdir}"
+ # x86-specific options.
+ sed -i '/ADD_DEFINITIONS(-ffast-math -msse2 -msse)/d' cmake/CompilerSettings.cmake
cmake -DCMAKE_INSTALL_PREFIX=/usr
make
}