svn commit: r359601 - head/usr.sbin/pmc

Brooks Davis brooks at FreeBSD.org
Fri Apr 3 16:11:11 UTC 2020


Author: brooks
Date: Fri Apr  3 16:10:42 2020
New Revision: 359601
URL: https://svnweb.freebsd.org/changeset/base/359601

Log:
  pmc: diable position-independent builds, they fail to link on amd64
  
  PR:		245189
  Reported by:	Gordon Bergling
  Sponsored by:	DARPA

Modified:
  head/usr.sbin/pmc/Makefile

Modified: head/usr.sbin/pmc/Makefile
==============================================================================
--- head/usr.sbin/pmc/Makefile	Fri Apr  3 15:55:58 2020	(r359600)
+++ head/usr.sbin/pmc/Makefile	Fri Apr  3 16:10:42 2020	(r359601)
@@ -11,6 +11,9 @@ CXXSTD= c++14
 CWARNFLAGS.gcc+= -Wno-redundant-decls
 CFLAGS+= -I${SRCTOP}/lib/libpmcstat
 
+# Does not link when built position-independent.
+MK_PIE=no
+
 LIBADD=	kvm pmc m ncursesw pmcstat elf
 
 SRCS=	pmc.c pmc_util.c cmd_pmc_stat.c \


More information about the svn-src-head mailing list