summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}