Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/csu/common_elf Don't compile with -fPIC when MACHINE_ARC...
details: https://anonhg.NetBSD.org/src/rev/c33e0b9edfde
branches: trunk
changeset: 510041:c33e0b9edfde
user: fredette <fredette%NetBSD.org@localhost>
date: Thu May 17 21:17:02 2001 +0000
description:
Don't compile with -fPIC when MACHINE_ARCH is m68000.
diffstat:
lib/csu/common_elf/Makefile.inc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r c882aad3eff8 -r c33e0b9edfde lib/csu/common_elf/Makefile.inc
--- a/lib/csu/common_elf/Makefile.inc Thu May 17 21:08:54 2001 +0000
+++ b/lib/csu/common_elf/Makefile.inc Thu May 17 21:17:02 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.5 2000/04/02 15:35:47 minoura Exp $
+# $NetBSD: Makefile.inc,v 1.6 2001/05/17 21:17:02 fredette Exp $
.if !defined(ELFSIZE)
ELFSIZE=32
@@ -8,7 +8,10 @@
CPPFLAGS+= -I${.CURDIR}/../../../libexec/ld.elf_so
CPPFLAGS+= -I${.CURDIR}/../common_elf
CPPFLAGS+= -I${.CURDIR}/../../libc/dlfcn
+
+.if !defined(MACHINE_ARCH) || ${MACHINE_ARCH} != "m68000"
COPTS+= -fPIC
+.endif
.PATH: ${.CURDIR}/../common_elf
Home |
Main Index |
Thread Index |
Old Index