Unbreak sparc build.
[sbcl.git] / src / runtime / Config.arm-android
blob9d9c3a02744504b712484eaa749e1b659494fbef
1 # -*- makefile -*- for the C-level run-time support for SBCL
3 # This software is part of the SBCL system. See the README file for
4 # more information.
6 # This software is derived from the CMU CL system, which was
7 # written at Carnegie Mellon University and released into the
8 # public domain. The software is in the public domain and is
9 # provided with absolutely no warranty. See the COPYING and CREDITS
10 # files for more informration.
12 CC=${NDK_PATH}/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/arm-linux-androideabi/bin/gcc
13 CFLAGS += -marm -march=armv5 --sysroot=${NDK_PATH}/platforms/android-15/arch-arm/
14 LINKFLAGS += --sysroot=${NDK_PATH}/platforms/android-15/arch-arm/
15 NM = ${NDK_PATH}/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/arm-linux-androideabi/bin/nm
17 ASSEM_SRC = arm-assem.S ldso-stubs.S
18 ARCH_SRC = arm-arch.c
20 OS_SRC = linux-os.c arm-linux-os.c android-os.c arm-android-os.c
21 OS_LIBS = -ldl
23 ifdef LISP_FEATURE_GENCGC
24   GC_SRC = gencgc.c
25 else
26   GC_SRC = cheneygc.c
27 endif
29 ifdef LISP_FEATURE_SB_THREAD
30   OS_LIBS += -lpthread
31 endif
32 ifdef LISP_FEATURE_SB_CORE_COMPRESSION
33   OS_LIBS += -lz
34 endif
35 ifdef LISP_FEATURE_LARGEFILE
36   CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
37 endif
39 # Nothing to do for after-grovel-headers.
40 .PHONY: after-grovel-headers
41 after-grovel-headers: