Commit Graph

70 Commits

Author SHA1 Message Date
Jeffrey Walton
cbc1859048
Update setenv-android.sh script
Newer NDKs cannot consume -mtune=intel, so omit it.
2023-06-26 07:45:43 -04:00
Jeffrey Walton
f0202c369e
Update Android setenv script for r22 tools 2022-12-27 11:24:28 -05:00
Jeffrey Walton
619e47b71c
Update Android setenv script for r22 tools 2022-12-27 10:19:19 -05:00
Jeffrey Walton
f799578860
Update Android setenv script for r22 tools 2022-12-27 09:06:57 -05:00
Jeffrey Walton
58dd9dc7c2
Update setenv-android.sh after PR #1119 2022-08-01 11:02:03 -04:00
Andreas Dorrer
bc442ee135
Fix setenv-android.sh for NDK version 22 and higher (#1119)
* Add "ANDROID_LD" to setenv-android.sh for linker selection

Android NKD 22 and higher only have ld.bfd and ld.gold because of this the current script doesn't find the linker. With the help of the new var ANDROID_LD we can select the desired linker

* fix typo
2022-08-01 09:56:57 -04:00
Jeffrey Walton
e3fb5a9918
Add ASFLAGS to setenv-android.sh 2022-02-12 23:49:31 -05:00
Jeffrey Walton
9e2da8980a
Move --sysroot to LDFLAGS since not used during compilation 2021-05-10 14:57:43 -04:00
Jeffrey Walton
ba1ce11df0
Update setenv-*.sh output 2021-03-11 11:06:33 -05:00
Jeffrey Walton
4689d8899b
Set CFLAGS in setenv-*.sh scripts 2021-03-11 10:54:02 -05:00
Jeffrey Walton
d890c0201b
Update setenv-macos.sh for old world Macs 2021-03-10 19:09:56 -05:00
Jeffrey Walton
e548c9e74a
Cleanup whitespace in setenv-*.sh scripts 2021-03-10 12:42:31 -05:00
Jeffrey Walton
de06af03fc
Clear shellcheck warnings in setenv-*.sh 2021-03-10 12:18:38 -05:00
Jeffrey Walton
11465b4752 Update setenv-*.sh scripts 2021-03-10 11:50:25 -05:00
Jeffrey Walton
82d7a9a093
Add IS_MACOS envar for native OS X builds 2021-03-10 11:05:05 -05:00
Jeffrey Walton
a5d15b50ff
Make setenv-*.sh set CPPFLAGS, CXXFLAGS and LDFLAGS (GH #1014) 2021-03-09 09:43:57 -05:00
Jeffrey Walton
adbde64495
Update comments 2021-03-08 17:51:48 -05:00
Jeffrey Walton
d4fdf75b8c
Make setenv-android.sh consistent with NDK r19 and r20 2021-02-15 05:39:51 -05:00
Jeffrey Walton
861239fa85
Update setenv-android.sh script 2021-02-14 18:44:15 -05:00
Jeffrey Walton
0b915fc351
Update setenv-android.sh script 2021-02-14 18:41:08 -05:00
Jeffrey Walton
8d2788c00d
Update setenv-android.sh script 2021-02-14 18:33:01 -05:00
Jeffrey Walton
b942e1fb20
Use Android 6.0 API for test scripts
Android 6.0/android-21 happens to match my Galaxy S5, which I use for testing.
2021-02-14 17:00:01 -05:00
Jeffrey Walton
cb6fdb715f
Clean warnings on Android under Clang 2021-02-14 14:49:27 -05:00
Jeffrey Walton
2c1d574442
Make setenv-android.sh consistent with NDK r19 and r20 2021-02-14 14:12:01 -05:00
Jeffrey Walton
5dc00f828c
Use -std=c++11 in setenv-android.sh
The flag is consistent with Android.mk and 'APP_STL := c++_shared'.
2021-02-14 13:40:19 -05:00
Jeffrey Walton
a9828d10ed
Add -fstack-protector-strong for Android builds
This is a standard flag for NDK builds
2021-02-14 06:18:32 -05:00
Jeffrey Walton
bf49953b11
Use -stdlib=libc++ in setenv-android.sh
libc++ is the only STL runtime available in NDK r18 and above. The use is consistent with Android.mk and 'APP_STL := c++_shared'.
2021-02-14 05:30:43 -05:00
Jeffrey Walton
baa97f116b
Remove -mfloat-abi=softfp from setenv-android.sh
Android NDK r19 and above no longer use it
2021-02-13 17:29:00 -05:00
Jeffrey Walton
cf3a31bc09
Update test scripts 2021-02-07 10:53:29 -05:00
Jeffrey Walton
019910dc68
Update test scripts 2021-02-07 06:58:16 -05:00
Jeffrey Walton
e42503a72c
Update test scripts 2021-02-07 06:35:04 -05:00
Jeffrey Walton
7b97214822
Update test scripts 2021-02-07 06:31:33 -05:00
Jeffrey Walton
b4f85feafc
Update test scripts 2021-02-07 04:18:07 -05:00
Jeffrey Walton
433204e1eb
Update test scripts 2021-02-07 04:13:54 -05:00
Jeffrey Walton
968008a8a9
Update test scripts 2021-02-07 03:59:34 -05:00
Jeffrey Walton
208f3afeaa
Update comments 2021-02-07 01:38:47 -05:00
Jeffrey Walton
c2af1bbcc3
Update setenv-android.sh and setenv-ios.sh scripts 2021-02-06 17:31:06 -05:00
Jeffrey Walton
f1b818db08
Fix setenv-android.sh script 2021-02-06 12:29:21 -05:00
Jeffrey Walton
39df8dfea5
Fix setenv-android.sh script 2021-02-06 12:20:00 -05:00
Jeffrey Walton
5f14a73bb1
Update install-ndk.sh 2021-02-06 12:10:35 -05:00
Jeffrey Walton
4d8aa202e0
Update test scripts 2021-02-05 11:42:08 -05:00
Jeffrey Walton
60f85a37ab
Update setenv-android.sh script 2021-02-05 11:11:56 -05:00
Jeffrey Walton
93f260ac78
Update setenv-android.sh script 2021-02-05 11:07:44 -05:00
Jeffrey Walton
3a1f944b61
Update test scripts 2021-02-05 04:49:33 -05:00
Jeffrey Walton
64baae056c
Fix setenv-android.sh on OS X (GH #995) 2020-12-31 16:42:35 -05:00
Jeffrey Walton
b54adcbb39
Recognize i686 in setenv-android.sh 2020-07-29 18:15:27 -04:00
Jeffrey Walton
634b398d20
Update setenv-*.sh scripts 2020-05-14 18:24:58 -04:00
Jeffrey Walton
87c1e8bbba
Update setenv-*.sh scripts to use positional arguments 2020-05-14 18:13:38 -04:00
Jeffrey Walton
ccb3e869ed
Match arm64 wildcard in setenv-android.sh 2020-03-26 12:43:57 -04:00
Jeffrey Walton
d9112d3fe3
Add OS X support to install-ndk.sh 2020-03-13 16:20:17 -04:00