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
10 lines
199 B
Makefile
10 lines
199 B
Makefile
# $NetBSD: Makefile.inc,v 1.14 2009/12/13 09:31:47 mrg Exp $
|
|
|
|
SRCS+= rtld_start.S mdreloc.c
|
|
|
|
# XXX Should not be in CPPFLAGS!
|
|
CPPFLAGS+= -fpic
|
|
|
|
CPPFLAGS+= -DELFSIZE=32
|
|
|
|
LDFLAGS+= -Wl,-e,.rtld_start
|