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
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 information.
12 include Config.x86-bsd
14 ASSEM_SRC += ldso-stubs.S
17 # The -Z linker flag conflicts with the default address space
18 # locations used. If you wish to link the runtime using -Z option then
19 # please see the comments in src/compiler/x86/parms.lisp
21 # XXX why do all the other Configs set LINKFLAGS instead of LDFLAGS?
22 # LINKFLAGS is only used in src/runtime/GNUmakefile, this causes the
23 # dladdr test in tools-for-build/ to fail.
25 LINKFLAGS += -export-dynamic
26 LDFLAGS += -export-dynamic
28 CFLAGS = -g -Wall -O2 -fno-omit-frame-pointer