summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/mk/bsd.own.mk4
-rw-r--r--share/mk/bsd.prog.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index f3cd09cf2c3..aeebb71bd7a 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.66 2003/05/14 08:01:02 mho Exp $
+# $OpenBSD: bsd.own.mk,v 1.67 2003/07/08 13:59:13 espie Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -120,7 +120,7 @@ PICFLAG=-fPIC
.endif
.if (${MACHINE_ARCH} == "sparc64") || (${MACHINE_ARCH} == "sparc")
ASPICFLAG=-KPIC
-.elif (${ELF_TOOLCHAIN} != "yes")
+.elif (${ELF_TOOLCHAIN:L} != "yes")
ASPICFLAG=-k
.endif
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index d54476f3e61..559529d11ed 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.prog.mk,v 1.34 2002/11/10 23:03:55 mickey Exp $
+# $OpenBSD: bsd.prog.mk,v 1.35 2003/07/08 13:59:13 espie Exp $
# $NetBSD: bsd.prog.mk,v 1.55 1996/04/08 21:19:26 jtc Exp $
# @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
@@ -17,7 +17,7 @@ CXXFLAGS+= ${CXXDIAGFLAGS}
CFLAGS+= ${COPTS}
CXXFLAGS+= ${CXXOPTS}
-.if (${ELF_TOOLCHAIN} == "yes")
+.if (${ELF_TOOLCHAIN:L} == "yes")
CRTBEGIN?= ${DESTDIR}/usr/lib/crtbegin.o
CRTEND?= ${DESTDIR}/usr/lib/crtend.o
.endif