summaryrefslogtreecommitdiff
path: root/sbin/disklabel/Makefile
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2011-05-24 15:27:57 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2011-05-24 15:27:57 +0000
commitabe5a545baf35d58818967ae44893f73c4b851b8 (patch)
tree5cb777a2434b74571701d1e61acfd84c3af0bdd2 /sbin/disklabel/Makefile
parent7bba91997a49a1b90aaf8f3cc262edbe355c7a92 (diff)
Allow for more room for /usr/obj on static linking only archs; ok krw@ deraadt@
Diffstat (limited to 'sbin/disklabel/Makefile')
-rw-r--r--sbin/disklabel/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/disklabel/Makefile b/sbin/disklabel/Makefile
index d18917cf65f..1006951e93d 100644
--- a/sbin/disklabel/Makefile
+++ b/sbin/disklabel/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.51 2010/03/18 12:27:13 otto Exp $
+# $OpenBSD: Makefile,v 1.52 2011/05/24 15:27:56 otto Exp $
PROG= disklabel
SRCS= disklabel.c dkcksum.c editor.c manual.c
@@ -62,4 +62,8 @@ CFLAGS+= -DSEEALSO="\"installboot(8)\"" -DSUN_CYLCHECK -DSUN_AAT0
CFLAGS+= -DSEEALSO="\"fdisk(8)\""
.endif
+.ifdef NOPIC
+CFLAGS+= -DSTATICLINKING
+.endif
+
.include <bsd.prog.mk>