xref: /aosp_15_r20/external/libconfig/contrib/cmake/CMakeFiles/CMakeCCompiler.cmake (revision 2e9d491483b805f09ea864149eadd5680efcc72a)
1*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_C_COMPILER "/usr/bin/gcc")
2*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_C_COMPILER_ARG1 "")
3*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_C_COMPILER_ID "GNU")
4*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_C_PLATFORM_ID "Linux")
5*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_AR "/usr/bin/ar")
6*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_RANLIB "/usr/bin/ranlib")
7*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_COMPILER_IS_GNUCC 1)
8*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_C_COMPILER_LOADED 1)
9*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_COMPILER_IS_MINGW )
10*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_COMPILER_IS_CYGWIN )
11*2e9d4914SAndroid Build Coastguard WorkerIF(CMAKE_COMPILER_IS_CYGWIN)
12*2e9d4914SAndroid Build Coastguard Worker  SET(CYGWIN 1)
13*2e9d4914SAndroid Build Coastguard Worker  SET(UNIX 1)
14*2e9d4914SAndroid Build Coastguard WorkerENDIF(CMAKE_COMPILER_IS_CYGWIN)
15*2e9d4914SAndroid Build Coastguard Worker
16*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_C_COMPILER_ENV_VAR "CC")
17*2e9d4914SAndroid Build Coastguard Worker
18*2e9d4914SAndroid Build Coastguard WorkerIF(CMAKE_COMPILER_IS_MINGW)
19*2e9d4914SAndroid Build Coastguard Worker  SET(MINGW 1)
20*2e9d4914SAndroid Build Coastguard WorkerENDIF(CMAKE_COMPILER_IS_MINGW)
21*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_C_COMPILER_ID_RUN 1)
22*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
23*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
24*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_C_LINKER_PREFERENCE 10)
25*2e9d4914SAndroid Build Coastguard Worker
26*2e9d4914SAndroid Build Coastguard Worker# Save compiler ABI information.
27*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_C_SIZEOF_DATA_PTR "4")
28*2e9d4914SAndroid Build Coastguard WorkerSET(CMAKE_C_COMPILER_ABI "ELF")
29*2e9d4914SAndroid Build Coastguard Worker
30*2e9d4914SAndroid Build Coastguard WorkerIF(CMAKE_C_SIZEOF_DATA_PTR)
31*2e9d4914SAndroid Build Coastguard Worker  SET(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
32*2e9d4914SAndroid Build Coastguard WorkerENDIF(CMAKE_C_SIZEOF_DATA_PTR)
33*2e9d4914SAndroid Build Coastguard Worker
34*2e9d4914SAndroid Build Coastguard WorkerIF(CMAKE_C_COMPILER_ABI)
35*2e9d4914SAndroid Build Coastguard Worker  SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
36*2e9d4914SAndroid Build Coastguard WorkerENDIF(CMAKE_C_COMPILER_ABI)
37