mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
makepanda: build on Intel Android machines
This commit is contained in:
parent
bdb74b1e30
commit
730279531a
@ -57,6 +57,8 @@
|
||||
#define DTOOL_PLATFORM "android_arm"
|
||||
#elif defined(__mips__)
|
||||
#define DTOOL_PLATFORM "android_mips"
|
||||
#elif defined(__x86_64)
|
||||
#define DTOOL_PLATFORM "android_amd64"
|
||||
#elif defined(__i386__)
|
||||
#define DTOOL_PLATFORM "android_i386"
|
||||
#endif
|
||||
|
@ -1291,9 +1291,11 @@ def CompileCxx(obj,src,opts):
|
||||
cmd += ' -fintegrated-as'
|
||||
elif arch == 'x86':
|
||||
cmd += ' -target i686-none-linux-android'
|
||||
cmd += ' -march=i686 -mtune=intel -mssse3 -mfpmath=sse -m32'
|
||||
cmd += ' -mstackrealign'
|
||||
elif arch == 'x86_64':
|
||||
cmd += ' -target x86_64-none-linux-android'
|
||||
cmd += ' -march=x86-64 -msse4.2 -mpopcnt -m64 -mtune=intel'
|
||||
|
||||
cmd += " -Wa,--noexecstack"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user