Source-Changes-HG archive

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

[src/trunk]: src/tests/libexec/ld.elf_so Drop explicit -msecure-plt, it's the...



details:   https://anonhg.NetBSD.org/src/rev/fbb7624d5708
branches:  trunk
changeset: 1021419:fbb7624d5708
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun May 30 02:26:51 2021 +0000

description:
Drop explicit -msecure-plt, it's the default for both clang and gcc.

diffstat:

 tests/libexec/ld.elf_so/Makefile     |  3 +--
 tests/libexec/ld.elf_so/Makefile.inc |  4 ----
 2 files changed, 1 insertions(+), 6 deletions(-)

diffs (23 lines):

diff -r 5c37603d426d -r fbb7624d5708 tests/libexec/ld.elf_so/Makefile
--- a/tests/libexec/ld.elf_so/Makefile  Sun May 30 02:26:08 2021 +0000
+++ b/tests/libexec/ld.elf_so/Makefile  Sun May 30 02:26:51 2021 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2020/09/22 01:09:32 kamil Exp $
+# $NetBSD: Makefile,v 1.12 2021/05/30 02:26:51 joerg Exp $
 #
 
 NOMAN=         # defined
 
-.include "Makefile.inc"
 .include <bsd.own.mk>
 
 .if ${MKPIC} != "no"
diff -r 5c37603d426d -r fbb7624d5708 tests/libexec/ld.elf_so/Makefile.inc
--- a/tests/libexec/ld.elf_so/Makefile.inc      Sun May 30 02:26:08 2021 +0000
+++ b/tests/libexec/ld.elf_so/Makefile.inc      Sun May 30 02:26:51 2021 +0000
@@ -1,5 +1,1 @@
 .include "../Makefile.inc"
-
-.if ${MACHINE_ARCH} == "powerpc"
-CFLAGS += -msecure-plt
-.endif



Home | Main Index | Thread Index | Old Index