clang ifunc's on powerpc require secure-plt.
This commit is contained in:
parent
e201e655df
commit
292b510fe2
@ -1,8 +1,9 @@
|
||||
# $NetBSD: Makefile,v 1.9 2017/07/11 15:21:36 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2019/05/14 19:07:07 christos Exp $
|
||||
#
|
||||
|
||||
NOMAN= # defined
|
||||
|
||||
.include "Makefile.inc"
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if ${MKPIC} != "no"
|
||||
|
@ -1 +1,5 @@
|
||||
.include "../Makefile.inc"
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc"
|
||||
CFLAGS += -msecure-plt
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user