Add a hook to pass debug flags to the build of rtld when doing make in

the rtld directory.

Reviewed by:	kan
This commit is contained in:
Konstantin Belousov 2010-12-25 08:42:38 +00:00
parent 0cf42b622b
commit 06786ccfb3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216694

View File

@ -34,7 +34,7 @@ CFLAGS+= -fPIC
.else
CFLAGS+= -fpic
.endif
CFLAGS+= -DPIC
CFLAGS+= -DPIC $(DEBUG)
LDFLAGS+= -shared -Wl,-Bsymbolic
DPADD= ${LIBC_PIC}
LDADD= -lc_pic -lssp_nonshared