From ef3c345a8bc4fc13eae6ee22ebbd928b7362386f Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sat, 28 May 2016 15:21:53 +0200 Subject: [PATCH] libcxx: pass cmake flags directly. --- srcpkgs/libcxx/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libcxx/template b/srcpkgs/libcxx/template index 72340b400b..321401b9bd 100644 --- a/srcpkgs/libcxx/template +++ b/srcpkgs/libcxx/template @@ -1,7 +1,7 @@ # Template file for 'libcxx' pkgname=libcxx version=3.8.0 -revision=4 +revision=5 build_style=cmake hostmakedepends="cmake" case "$XBPS_TARGET_MACHINE" in @@ -39,7 +39,8 @@ post_configure() { if [ "$CROSS_BUILD" ]; then cp ${wrksrc}/build/cross_${XBPS_CROSS_TRIPLET}.cmake . fi - cmake ${configure_args} -DLIBCXX_ENABLE_SHARED=OFF .. + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \ + ${configure_args} -DLIBCXX_ENABLE_SHARED=OFF .. ) } post_build() {