mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
libcxx: pass cmake flags directly.
This commit is contained in:
parent
09fb7dae90
commit
ef3c345a8b
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libcxx'
|
# Template file for 'libcxx'
|
||||||
pkgname=libcxx
|
pkgname=libcxx
|
||||||
version=3.8.0
|
version=3.8.0
|
||||||
revision=4
|
revision=5
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="cmake"
|
hostmakedepends="cmake"
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
@ -39,7 +39,8 @@ post_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
cp ${wrksrc}/build/cross_${XBPS_CROSS_TRIPLET}.cmake .
|
cp ${wrksrc}/build/cross_${XBPS_CROSS_TRIPLET}.cmake .
|
||||||
fi
|
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() {
|
post_build() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue