summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLlewelyn Trahaearn2016-08-20 21:44:59 -0700
committerLlewelyn Trahaearn2016-08-20 21:44:59 -0700
commita989a581ac7ca49f4a6613fb2ff022a88689de51 (patch)
tree2944bdb7b2a889ccaf5d0ea4f6306d563d7580b7
parentee9177f3d72ba30149ab97f324fd8086329f3284 (diff)
downloadaur-a989a581ac7ca49f4a6613fb2ff022a88689de51.tar.gz
Pedantic tuning.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 45c9d5c2f90..6646b330c43 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Wed Jan 27 06:07:22 UTC 2016
+# Sun Aug 21 04:44:48 UTC 2016
pkgbase = lib32-libnotify
pkgdesc = Desktop notification library (32-bit)
pkgver = 0.7.6
diff --git a/PKGBUILD b/PKGBUILD
index b3aff1b77a9..d699f5e5bd4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,14 +18,14 @@ sha512sums=('5d656ee7ee5caeb95aec4adb973795dc72fc620cd36b9fe3d4f910951945bd5df70
build() {
# Modify environment to generate 32-bit ELF. Respects flags defined in makepkg.conf
- export CC='gcc -m32'
- export CXX='g++ -m32'
- export LDFLAGS+=' -m32'
+ export CFLAGS="-m32 ${CFLAGS}"
+ export CXXFLAGS="-m32 ${CXXFLAGS}"
+ export LDFLAGS="-m32 ${LDFLAGS}"
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
# export PKG_CONFIG_LIBDIR='/usr/lib32/pkgconfig'
cd "${pkgname#lib32-}-${pkgver}"
- ./configure --prefix=/usr --disable-static --libdir=/usr/lib32
+ ./configure --build=i686-pc-linux-gnu --prefix=/usr --disable-static --libdir=/usr/lib32
make
}