From owner-svn-src-all@FreeBSD.ORG Sat Dec 25 08:42:38 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C73310656A3; Sat, 25 Dec 2010 08:42:38 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6BEB58FC1C; Sat, 25 Dec 2010 08:42:38 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oBP8gcmu016802; Sat, 25 Dec 2010 08:42:38 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oBP8gchA016800; Sat, 25 Dec 2010 08:42:38 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201012250842.oBP8gchA016800@svn.freebsd.org> From: Konstantin Belousov Date: Sat, 25 Dec 2010 08:42:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r216694 - head/libexec/rtld-elf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Dec 2010 08:42:38 -0000 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