summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-12-25 08:42:38 +0000
committerkib <kib@FreeBSD.org>2010-12-25 08:42:38 +0000
commit377233e6cca2d48c8ecba755aa46304a8ae7731b (patch)
treeb8b4a80b60d88e5779b1d4abcd5bcd99ff42175b /libexec
parent8276de4a81a666e568944ecaf0db30a851b47786 (diff)
downloadFreeBSD-src-377233e6cca2d48c8ecba755aa46304a8ae7731b.zip
FreeBSD-src-377233e6cca2d48c8ecba755aa46304a8ae7731b.tar.gz
Add a hook to pass debug flags to the build of rtld when doing make in
the rtld directory. Reviewed by: kan
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index bc23f7c..45318b9 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -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
OpenPOWER on IntegriCloud