Revert and leave broken.

This commit is contained in:
christos 2016-02-27 23:51:34 +00:00
parent ed090bddf8
commit 0048ede9cd

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.lib.mk,v 1.365 2016/02/27 20:36:17 christos Exp $ # $NetBSD: bsd.lib.mk,v 1.366 2016/02/27 23:51:34 christos Exp $
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94 # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.include <bsd.init.mk> .include <bsd.init.mk>
@ -42,11 +42,11 @@ realinstall: checkver libinstall
# XXX: This is needed for programs that link with .a libraries # XXX: This is needed for programs that link with .a libraries
# Perhaps a more correct solution is to always generate _pic.a # Perhaps a more correct solution is to always generate _pic.a
# files or always have a shared library. # files or always have a shared library.
# Disabled since it breaks profiling. # XXX: This breaks profiling (__mcount relocation is wrong)
#.if defined(MKPIE) && (${MKPIE} != "no") && !defined(NOPIE) .if defined(MKPIE) && (${MKPIE} != "no") && !defined(NOPIE)
#CFLAGS+= ${PIE_CFLAGS} CFLAGS+= ${PIE_CFLAGS}
#AFLAGS+= ${PIE_AFLAGS} AFLAGS+= ${PIE_AFLAGS}
#.endif .endif
##### Libraries that this may depend upon. ##### Libraries that this may depend upon.
.if defined(LIBDPLIBS) && ${MKPIC} != "no" # { .if defined(LIBDPLIBS) && ${MKPIC} != "no" # {