mirror of
https://github.com/termux/termux-packages.git
synced 2025-09-22 14:29:36 +00:00
28 lines
993 B
Diff
28 lines
993 B
Diff
--- ./common.gypi.orig 2025-03-15 03:13:01.141885662 +0530
|
|
+++ ./common.gypi 2025-03-15 03:18:27.085594028 +0530
|
|
@@ -242,10 +242,6 @@
|
|
},],
|
|
],
|
|
},],
|
|
- ['OS == "android"', {
|
|
- 'cflags': [ '-fPIC', '-I<(android_ndk_path)/sources/android/cpufeatures' ],
|
|
- 'ldflags': [ '-fPIC' ]
|
|
- }],
|
|
['clang==1', {
|
|
'msbuild_toolset': 'ClangCL',
|
|
}],
|
|
@@ -520,11 +516,11 @@
|
|
}],
|
|
['_toolset=="host"', {
|
|
'conditions': [
|
|
- [ 'host_arch=="ia32"', {
|
|
+ [ 'host_arch=="ia32" or (target_arch=="ia32" or target_arch=="arm")', {
|
|
'cflags': [ '-m32' ],
|
|
'ldflags': [ '-m32' ],
|
|
}],
|
|
- [ 'host_arch=="x64"', {
|
|
+ [ 'host_arch=="x64" and (target_arch=="x64" or target_arch=="arm64")', {
|
|
'cflags': [ '-m64' ],
|
|
'ldflags': [ '-m64' ],
|
|
}],
|