mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-14 06:36:48 -04:00
time to fake gcc
This commit is contained in:
parent
1add4c6891
commit
d1c9981d5b
@ -1 +1,9 @@
|
||||
exec $thecc "$@" -Wno-unknown-warning-option -Wno-unused-parameter -Wno-unused
|
||||
#!/bin/bash
|
||||
if [ "$1" = "--version" ]; then
|
||||
echo "${TARGET}-gcc (GCC) 4.9 20140827 (prerelease)"
|
||||
echo "Copyright (C) 2014 Free Software Foundation, Inc."
|
||||
echo "This is free software; see the source for copying conditions. There is NO"
|
||||
echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
else
|
||||
exec $thecc "$@"
|
||||
fi
|
||||
|
@ -1 +1,9 @@
|
||||
exec $thecxx "$@" -Wno-unknown-warning-option -Wno-unused-parameter -Wno-unused
|
||||
#!/bin/bash
|
||||
if [ "$1" = "--version" ]; then
|
||||
echo "${TARGET}-g++ (GCC) 4.9 20140827 (prerelease)"
|
||||
echo "Copyright (C) 2014 Free Software Foundation, Inc."
|
||||
echo "This is free software; see the source for copying conditions. There is NO"
|
||||
echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
else
|
||||
exec $thecxx "$@"
|
||||
fi
|
||||
|
@ -5,7 +5,6 @@ set -e
|
||||
if [ "$TARGET_JDK" == "arm_DISABLEDCHECK" ]
|
||||
then
|
||||
export TARGET_JDK=aarch32
|
||||
export TARGET_PHYS=aarch32-linux-androideabi
|
||||
export JVM_VARIANTS=client
|
||||
else
|
||||
export TARGET_PHYS=$TARGET
|
||||
@ -73,7 +72,6 @@ bash ./configure \
|
||||
--disable-warnings-as-errors \
|
||||
--enable-option-checking=fatal \
|
||||
--with-jvm-variants=$JVM_VARIANTS \
|
||||
--with-toolchain-type=clang \
|
||||
--with-cups-include=$CUPS_DIR \
|
||||
--with-devkit=$TOOLCHAIN \
|
||||
--with-debug-level=$JDK_DEBUG_LEVEL \
|
||||
|
@ -64,8 +64,8 @@ export ANDROID_INCLUDE=$TOOLCHAIN/sysroot/usr/include
|
||||
export CPPFLAGS="-I$ANDROID_INCLUDE -I$ANDROID_INCLUDE/$TARGET" # -I/usr/include -I/usr/lib
|
||||
export LDFLAGS="-L$NDK/platforms/android-$API/arch-$TARGET_SHORT/usr/lib"
|
||||
|
||||
export thecc=$TOOLCHAIN/bin/$TARGET-clang
|
||||
export thecxx=$TOOLCHAIN/bin/$TARGET-clang++
|
||||
export thecc=$TOOLCHAIN/bin/$TARGET-gcc
|
||||
export thecxx=$TOOLCHAIN/bin/$TARGET-g++
|
||||
|
||||
# Configure and build.
|
||||
export AR=$TOOLCHAIN/bin/$TARGET-ar
|
||||
|
Loading…
x
Reference in New Issue
Block a user