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
|
@ -30,7 +30,8 @@ configure_args="
|
|||
--with-vendor-name="Void"
|
||||
--with-vendor-url="https://voidlinux.org/"
|
||||
--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"
|
||||
hostmakedepends="pkg-config automake autoconf cpio tar unzip zip ca-certificates
|
||||
zlib-devel make-ca which"
|
||||
|
@ -199,8 +200,6 @@ do_configure() {
|
|||
;;
|
||||
esac
|
||||
|
||||
configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
|
||||
|
||||
./configure ${configure_args} --with-extra-cflags="$CFLAGS" \
|
||||
--with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue