mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
openjdk8: fix cross build
The expression to strip "--with-libtool-sysroot=..." from configure_args actually stripped all the configure_args defined in the template. To avoid this unwanted side effect use --disable-option-checking.
This commit is contained in:
parent
022f75d23c
commit
fcdaf2de74
1 changed files with 2 additions and 3 deletions
|
@ -30,7 +30,8 @@ configure_args="
|
||||||
--with-vendor-name="Void"
|
--with-vendor-name="Void"
|
||||||
--with-vendor-url="https://voidlinux.org/"
|
--with-vendor-url="https://voidlinux.org/"
|
||||||
--with-vendor-bug-url="https://github.com/void-linux/void-packages/issues"
|
--with-vendor-bug-url="https://github.com/void-linux/void-packages/issues"
|
||||||
--with-vendor-vm-bug-url="https://github.com/void-linux/void-packages/issues""
|
--with-vendor-vm-bug-url="https://github.com/void-linux/void-packages/issues"
|
||||||
|
--disable-option-checking"
|
||||||
make_build_args="images $(vopt_if docs docs) COMPILER_WARNINGS_FATAL=false"
|
make_build_args="images $(vopt_if docs docs) COMPILER_WARNINGS_FATAL=false"
|
||||||
hostmakedepends="pkg-config automake autoconf cpio tar unzip zip ca-certificates
|
hostmakedepends="pkg-config automake autoconf cpio tar unzip zip ca-certificates
|
||||||
zlib-devel make-ca which"
|
zlib-devel make-ca which"
|
||||||
|
@ -199,8 +200,6 @@ do_configure() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
|
|
||||||
|
|
||||||
./configure ${configure_args} --with-extra-cflags="$CFLAGS" \
|
./configure ${configure_args} --with-extra-cflags="$CFLAGS" \
|
||||||
--with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
|
--with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue