pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/compiler compiler/clang.mk: do not disable PIE support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4aa377010f90
branches:  trunk
changeset: 372763:4aa377010f90
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 30 13:07:34 2022 +0000

description:
compiler/clang.mk: do not disable PIE support

joerg says clang has the same interface for this like gcc

diffstat:

 mk/compiler/clang.mk |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (19 lines):

diff -r a2c1ac43e2ba -r 4aa377010f90 mk/compiler/clang.mk
--- a/mk/compiler/clang.mk      Sun Jan 30 12:07:02 2022 +0000
+++ b/mk/compiler/clang.mk      Sun Jan 30 13:07:34 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: clang.mk,v 1.33 2022/01/19 16:06:43 pho Exp $
+# $NetBSD: clang.mk,v 1.34 2022/01/30 13:07:34 wiz Exp $
 #
 # This is the compiler definition for the clang compiler.
 #
@@ -114,9 +114,4 @@
 _CXX_STD_FLAG.${_version_}?=   -std=${_version_}
 .endfor
 
-.if ${_PKGSRC_MKPIE} == "yes"
-WARNINGS+=             "[clang.mk] PKGSRC_MKPIE is currently not supported for clang"
-CHECK_PIE_SUPPORTED=   no
-.endif
-
 .endif # COMPILER_CLANG_MK



Home | Main Index | Thread Index | Old Index