Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Dec 2010 08:42:38 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216694 - head/libexec/rtld-elf
Message-ID:  <201012250842.oBP8gchA016800@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Dec 25 08:42:38 2010
New Revision: 216694
URL: http://svn.freebsd.org/changeset/base/216694

Log:
  Add a hook to pass debug flags to the build of rtld when doing make in
  the rtld directory.
  
  Reviewed by:	kan

Modified:
  head/libexec/rtld-elf/Makefile

Modified: head/libexec/rtld-elf/Makefile
==============================================================================
--- head/libexec/rtld-elf/Makefile	Fri Dec 24 21:31:18 2010	(r216693)
+++ head/libexec/rtld-elf/Makefile	Sat Dec 25 08:42:38 2010	(r216694)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012250842.oBP8gchA016800>