Module Name: src
Committed By: christos
Date: Fri Oct 7 19:10:04 UTC 2016
Modified Files:
src/libexec/ld.elf_so: Makefile
Log Message:
revert, I'll fix libc instead.
To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/libexec/ld.elf_so/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/ld.elf_so/Makefile
diff -u src/libexec/ld.elf_so/Makefile:1.134 src/libexec/ld.elf_so/Makefile:1.135
--- src/libexec/ld.elf_so/Makefile:1.134 Fri Oct 7 13:12:59 2016
+++ src/libexec/ld.elf_so/Makefile Fri Oct 7 15:10:03 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.134 2016/10/07 17:12:59 christos Exp $
+# $NetBSD: Makefile,v 1.135 2016/10/07 19:10:03 christos Exp $
#
# NOTE: when changing ld.so, ensure that ldd still compiles.
#
@@ -63,7 +63,6 @@ COPTS+= -fvisibility=hidden
PROG= ld.elf_so-${MLIBDIR}
CPPFLAGS+= -DRTLD_ARCH_SUBDIR=\"${MLIBDIR}\"
. if ${MLIBDIR} == "o32"
-NEEDLIBGCC?= yes
. endif
.else
PROG= ld.elf_so
@@ -137,7 +136,7 @@ LDADD+= -lc
DPADD+= ${CLIBOBJ}/libc.a
.endif
-.if ${MACHINE_CPU} == "hppa" || ${MACHINE_CPU} == "sh3" || ${NEEDLIBGCC:Uno} == "yes"
+.if ${MACHINE_CPU} == "hppa" || ${MACHINE_CPU} == "sh3"
# for $$divU, $$remU etc. (millicode)
LDADD+= -lgcc
DPADD+= ${LIBGCC}