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 \
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to