mirror of
https://github.com/frida/tinycc
synced 2024-12-25 14:36:49 +03:00
Add arm ABI detection in conftest.c
This commit is contained in:
parent
b1a8233562
commit
b4656f3191
10
conftest.c
10
conftest.c
@ -21,7 +21,15 @@
|
||||
#endif
|
||||
|
||||
/* Define calling convention and ABI */
|
||||
#define TRIPLET_ABI "gnu"
|
||||
#if defined (__ARM_EABI__)
|
||||
# if defined (__ARM_PCS_VFP)
|
||||
# define TRIPLET_ABI "gnueabihf"
|
||||
# else
|
||||
# define TRIPLET_ABI "gnueabi"
|
||||
# endif
|
||||
#else
|
||||
# define TRIPLET_ABI "gnu"
|
||||
#endif
|
||||
|
||||
#ifdef __GNU__
|
||||
# define TRIPLET TRIPLET_ARCH "-" TRIPLET_ABI
|
||||
|
Loading…
Reference in New Issue
Block a user