mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-14 06:36:48 -04:00
fix: arg for jdk 21 only
This commit is contained in:
parent
e008fc3ee3
commit
31543684d8
@ -35,12 +35,19 @@ if [[ "$BUILD_IOS" != "1" ]]; then
|
|||||||
platform_args="--with-toolchain-type=gcc \
|
platform_args="--with-toolchain-type=gcc \
|
||||||
--with-freetype-include=$FREETYPE_DIR/include/freetype2 \
|
--with-freetype-include=$FREETYPE_DIR/include/freetype2 \
|
||||||
--with-freetype-lib=$FREETYPE_DIR/lib \
|
--with-freetype-lib=$FREETYPE_DIR/lib \
|
||||||
--build=x86_64-unknown-linux-gnu \
|
"
|
||||||
OBJCOPY=${OBJCOPY} \
|
|
||||||
|
if [[ $TARGET_VERSION -eq 21 ]]; then
|
||||||
|
platform_args+="--build=x86_64-unknown-linux-gnu \
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
platform_args+="OBJCOPY=${OBJCOPY} \
|
||||||
RANLIB=${RANLIB} \
|
RANLIB=${RANLIB} \
|
||||||
AR=${AR} \
|
AR=${AR} \
|
||||||
STRIP=${STRIP} \
|
STRIP=${STRIP} \
|
||||||
"
|
"
|
||||||
|
|
||||||
AUTOCONF_x11arg="--x-includes=$ANDROID_INCLUDE/X11"
|
AUTOCONF_x11arg="--x-includes=$ANDROID_INCLUDE/X11"
|
||||||
|
|
||||||
export CFLAGS+=" -DANDROID"
|
export CFLAGS+=" -DANDROID"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user