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