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/7f7f8c3f4d84
branches:  trunk
changeset: 379388:7f7f8c3f4d84
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 a48bc4ff5dd7 -r 7f7f8c3f4d84 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 a48bc4ff5dd7 -r 7f7f8c3f4d84 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