e83f7ba2c9
. file- and functionality-compatible with previous situation (FreeBSD csu) (with a crt1.o -> crt0.o symlink in /usr/lib) . harmonizes source with netbsd . harmonizes linker invocation (e.g. clang) with netbsd . helpful to get some arm code in there for the arm port project
14 lines
312 B
Makefile
14 lines
312 B
Makefile
# $NetBSD: Makefile.inc,v 1.8 2009/09/12 07:22:16 skrll Exp $
|
|
|
|
SRCS+= rtld_start.S hppa_reloc.c
|
|
|
|
# XXX Should not be in CPPFLAGS!
|
|
CPPFLAGS+= -fpic
|
|
|
|
CPPFLAGS+= -DELFSIZE=32
|
|
#CPPFLAGS+= -DDEBUG
|
|
#CPPFLAGS+= -DRTLD_DEBUG
|
|
#CPPFLAGS+= -DRTLD_DEBUG_RELOC
|
|
#CPPFLAGS+= -DRTLD_DEBUG_HPPA
|
|
|
|
LDFLAGS+= -Wl,-e,'$$rtld_start'
|