libcxx: pass cmake flags directly.

This commit is contained in:
Christian Neukirchen 2016-05-28 15:21:53 +02:00
parent 09fb7dae90
commit ef3c345a8b
1 changed files with 3 additions and 2 deletions

View File

@ -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() {