summaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-09-07 19:22:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-09-07 19:22:04 +0000
commitf1fb39255db6e69bb35507dc39487a5cbeec621a (patch)
tree318f323ccfbd6dabecd75e7e0d4f157953bff930 /share/mk
parent80caa5118796daf7347d38053d55d8917cba9ae4 (diff)
allow PICFLAG to be overridden; ok kettenis drahn
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.own.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 09af359039e..6816ee9036c 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.99 2008/03/28 17:10:57 drahn Exp $
+# $OpenBSD: bsd.own.mk,v 1.100 2008/09/07 19:22:03 deraadt Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -122,9 +122,9 @@ NOPIC=
# pic relocation flags.
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64")
-PICFLAG=-fPIC
+PICFLAG?=-fPIC
.else
-PICFLAG=-fpic
+PICFLAG?=-fpic
. if ${MACHINE_ARCH} == "m68k"
# Function CSE makes gas -k not recognize external function calls as lazily
# resolvable symbols, thus sometimes making ld.so report undefined symbol