Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so Don't abuse DBG, use COPTS instead.
details: https://anonhg.NetBSD.org/src/rev/49b02a07eec9
branches: trunk
changeset: 780721:49b02a07eec9
user: matt <matt%NetBSD.org@localhost>
date: Sat Aug 04 15:17:16 2012 +0000
description:
Don't abuse DBG, use COPTS instead.
diffstat:
libexec/ld.elf_so/Makefile | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 5454b2b24ca7 -r 49b02a07eec9 libexec/ld.elf_so/Makefile
--- a/libexec/ld.elf_so/Makefile Sat Aug 04 15:16:16 2012 +0000
+++ b/libexec/ld.elf_so/Makefile Sat Aug 04 15:17:16 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.111 2012/03/15 00:16:07 christos Exp $
+# $NetBSD: Makefile,v 1.112 2012/08/04 15:17:16 matt Exp $
#
# NOTE: when changing ld.so, ensure that ldd still compiles.
#
@@ -43,7 +43,7 @@
LDFLAGS+= -Wl,-static
LDFLAGS+= -Wl,--warn-shared-textrel
-CFLAGS+= -fvisibility=hidden
+COPTS+= -fvisibility=hidden
# Adds SRCS, CPPFLAGS, LDFLAGS, etc. Must go first so MD startup source
# is first.
@@ -92,10 +92,10 @@
#CPPFLAGS+= -DRTLD_DEBUG
#CPPFLAGS+= -DRTLD_DEBUG_RELOC
#DBG= -g
-DBG= -O3 -fomit-frame-pointer
+COPTS= -O3 -fomit-frame-pointer
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
-DBG+= -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -mno-sse3
+COPTS+= -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -mno-sse3
.endif
Home |
Main Index |
Thread Index |
Old Index