Use NOPIC to mean "no shared libraries", not NOSHLIB.
This commit is contained in:
parent
b72d8d17f9
commit
55267a7623
@ -1,13 +1,12 @@
|
||||
# $NetBSD: Makefile,v 1.12 1998/03/25 04:13:01 mhitch Exp $
|
||||
# $NetBSD: Makefile,v 1.13 1998/08/04 17:02:16 tv Exp $
|
||||
|
||||
.include <bsd.own.mk> # for OBJECT_FMT definition
|
||||
|
||||
.if ((${OBJECT_FMT} == "ELF") && !defined(NOSHLIB))
|
||||
.if ((${OBJECT_FMT} == "ELF") && !defined(NOPIC))
|
||||
PROG= ld.elf_so
|
||||
.endif
|
||||
|
||||
.if (${MACHINE} == "alpha") || (${MACHINE_ARCH} == "mips")
|
||||
|
||||
.if (${MACHINE} == "alpha") || (${MACHINE_ARCH} == "mips") || (${MACHINE_ARCH} == "sparc")
|
||||
# Adds SRCS, CPPFLAGS, LDFLAGS, etc. Must go first so MD startup source
|
||||
# is first.
|
||||
.if exists(${.CURDIR}/${MACHINE_ARCH}/Makefile.inc)
|
||||
|
Loading…
Reference in New Issue
Block a user