From 154fc82a1f8c529840f591456e8d131a5f74cbf3 Mon Sep 17 00:00:00 2001 From: Nicolas Reynolds Date: Fri, 25 Nov 2011 16:55:56 -0300 Subject: libproxy: cmake complained about flags, put them before build dir --- extra/libproxy/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'extra/libproxy/PKGBUILD') diff --git a/extra/libproxy/PKGBUILD b/extra/libproxy/PKGBUILD index c82563fbc..7c0b48819 100644 --- a/extra/libproxy/PKGBUILD +++ b/extra/libproxy/PKGBUILD @@ -22,7 +22,7 @@ build() { cd "${srcdir}" mkdir build cd build - cmake ../${pkgname}-${pkgver} \ + cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIBEXEC_INSTALL_DIR=/usr/lib/libproxy \ -DCMAKE_SKIP_RPATH=ON \ @@ -31,7 +31,8 @@ build() { -WITH_WEBKIT=OFF \ -WITH_MOZJS=OFF \ -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \ - -DCMAKE_C_FLAGS="${CFLAGS}" + -DCMAKE_C_FLAGS="${CFLAGS}" \ + ../${pkgname}-${pkgver} make } -- cgit v1.2.3-54-g00ecf