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
11 lines
276 B
Makefile
11 lines
276 B
Makefile
# $NetBSD: Makefile.inc,v 1.11 2009/10/22 21:56:13 skrll Exp $
|
|
|
|
SRCS+= rtld_start.S ppc_reloc.c
|
|
|
|
# XXX Should not be in CPPFLAGS!
|
|
CPPFLAGS+= -fpic -msoft-float
|
|
|
|
CPPFLAGS+= -DELFSIZE=32
|
|
|
|
LDFLAGS+= -Wl,-e,_rtld_start
|
|
LDFLAGS+= -Wl,--script,${.CURDIR}/arch/powerpc/ld.so.script
|