3ed9ffcae1
using the ${LDFLAGS:@F@-Wl,$F@} make substitution because that breaks if LDFLAGS is already set.
11 lines
200 B
Makefile
11 lines
200 B
Makefile
# $NetBSD: Makefile.inc,v 1.8 2005/06/04 16:17:17 lukem Exp $
|
|
|
|
SRCS+= rtld_start.S mdreloc.c
|
|
|
|
# XXX Should not be in CPPFLAGS!
|
|
CPPFLAGS+= -fpic
|
|
|
|
CPPFLAGS+= -DELFSIZE=64
|
|
|
|
LDFLAGS+= -Wl,-e,_rtld_start
|