openjdk8: build with LFS
This commit is contained in:
parent
e9d55efb7b
commit
9ff36a9475
1 changed files with 6 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
# TODO: config files?
|
||||
pkgname=openjdk8
|
||||
version=8u322b04
|
||||
revision=4
|
||||
revision=5
|
||||
_jdk_update="${version#*u}"
|
||||
_jdk_update="${_jdk_update%b*}"
|
||||
_jdk_build="${version#*b}"
|
||||
|
@ -186,6 +186,11 @@ do_configure() {
|
|||
;;
|
||||
esac
|
||||
|
||||
if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then
|
||||
CFLAGS+=" -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
|
||||
CXXFLAGS+=" -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
|
||||
fi
|
||||
|
||||
./configure ${configure_args} --with-extra-cflags="$CFLAGS" \
|
||||
--with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue