diff options
| author | Jérémy Zurcher <jeremy@asynk.ch> | 2021-11-24 14:10:52 +0100 | 
|---|---|---|
| committer | Jérémy Zurcher <jeremy@asynk.ch> | 2022-07-18 08:38:23 +0200 | 
| commit | f20ecd70b40a812bd2a04b3beab2d2ef2fe08eed (patch) | |
| tree | a0e296f47f4eb96a16d2cfb5359d290b2ef0f115 /godot-update | |
| parent | 41b69320e2e4087f863611a77444002ced3d6507 (diff) | |
| download | bin-f20ecd70b40a812bd2a04b3beab2d2ef2fe08eed.zip bin-f20ecd70b40a812bd2a04b3beab2d2ef2fe08eed.tar.gz  | |
godo-update : add common_flags
Diffstat (limited to 'godot-update')
| -rwxr-xr-x | godot-update | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/godot-update b/godot-update index f1fd1f7..b92ef1b 100755 --- a/godot-update +++ b/godot-update @@ -46,11 +46,12 @@ function build()      [ $CLEAN -eq 1 ] && scons platform=$platform --clean      [ $OPTIMIZED -eq 1 ] && opt_flags="use_static_ccp=yes use_lto=yes debug_symbols=no" +    common_flags="use_llvm=yes use_lld=yes debug_symbols=no use_lto=no use_static_cpp=no" # arch does not provide libatomic.a through gcc-libs      # https://docs.godotengine.org/en/3.2/development/compiling/compiling_for_x11.html      target=release_debug      echo -e "build : ${RED}$platform$RESET target=$RED$target$RESET" -    time scons -j$J platform=$platform target=$target tools=yes pulseaudio=no bits=64 $opt_flags warnings=no #custom_modules=../modules +    time scons -j$J platform=$platform target=$target tools=yes colored=yes pulseaudio=no bits=64 $common_flags warnings=no #custom_modules=../modules      if [ $ANDROID -eq 1 ]      then @@ -69,7 +70,7 @@ function build()              for arch in arm64v8 armv7; #x86_6              do                  echo -e "build : ${RED}android$RESET android_arch=$RED$arch$RESET target=$RED$target$RESET ndk_platform=$RED$ndk_platform$RESET" -                time scons -j$J platform=android target=$target android_arch=$arch ndk_platform=$ndk_platform tools=no disable_3d=true +                time scons -j$J platform=android target=$target android_arch=$arch ndk_platform=$ndk_platform tools=no disable_3d=true $common_flags              done          done          echo -e "${RED}gradlew build$RESET"  | 
