summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
Diffstat (limited to 'distrib')
-rw-r--r--distrib/alpha/bsd.rd/Makefile4
-rw-r--r--distrib/alpha/common/Makefile.inc4
-rw-r--r--distrib/amd64/ramdiskA/Makefile.inc4
-rw-r--r--distrib/amd64/ramdisk_cd/Makefile.inc4
-rw-r--r--distrib/i386/common/Makefile.inc4
-rw-r--r--distrib/ramdisk/Makefile4
-rw-r--r--distrib/socppc/ramdisk/Makefile4
-rw-r--r--distrib/sparc64/bsd.rd/Makefile4
-rw-r--r--distrib/sparc64/ramdisk/Makefile4
-rw-r--r--distrib/sparc64/ramdiskB/Makefile4
-rw-r--r--distrib/special/Makefile.inc2
11 files changed, 21 insertions, 21 deletions
diff --git a/distrib/alpha/bsd.rd/Makefile b/distrib/alpha/bsd.rd/Makefile
index 241185ba092..23ebb201b6d 100644
--- a/distrib/alpha/bsd.rd/Makefile
+++ b/distrib/alpha/bsd.rd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.24 2017/06/03 22:25:19 deraadt Exp $
+# $OpenBSD: Makefile,v 1.25 2017/07/25 13:32:14 robert Exp $
TOP= ${.CURDIR}/..
@@ -31,7 +31,7 @@ bsd.rd_unz: bsd ${IMAGE} rdsetroot
bsd:
cd ${.CURDIR}/../../../sys/arch/alpha/compile/${RAMDISK} && \
- su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Os ${MAKE}'
+ su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Oz ${MAKE}'
cp -p ${.CURDIR}/../../../sys/arch/alpha/compile/${RAMDISK}/obj/bsd bsd
${IMAGE}: ${CBIN}
diff --git a/distrib/alpha/common/Makefile.inc b/distrib/alpha/common/Makefile.inc
index 2433e4fb146..f92e3250cbc 100644
--- a/distrib/alpha/common/Makefile.inc
+++ b/distrib/alpha/common/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.29 2017/01/27 17:59:09 natano Exp $
+# $OpenBSD: Makefile.inc,v 1.30 2017/07/25 13:32:14 robert Exp $
TOP= ${.CURDIR}/..
@@ -73,7 +73,7 @@ bsd.rd: bsd ${IMAGE} rdsetroot
bsd:
cd ${.CURDIR}/../../../sys/arch/alpha/compile/${RAMDISK} && \
- su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Os ${MAKE}'
+ su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Oz ${MAKE}'
cp -p ${.CURDIR}/../../../sys/arch/alpha/compile/${RAMDISK}/obj/bsd bsd
${IMAGE}: ${CBIN}
diff --git a/distrib/amd64/ramdiskA/Makefile.inc b/distrib/amd64/ramdiskA/Makefile.inc
index e447e86b412..c51ae0b0517 100644
--- a/distrib/amd64/ramdiskA/Makefile.inc
+++ b/distrib/amd64/ramdiskA/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.4 2017/06/03 22:25:19 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.5 2017/07/25 13:32:14 robert Exp $
TOP= ${.CURDIR}/..
@@ -75,7 +75,7 @@ bsd.rd: mr.fs bsd rdsetroot
bsd:
cd ${.CURDIR}/../../../sys/arch/amd64/compile/${RAMDISK} && \
- su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Os ${MAKE}'
+ su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Oz ${MAKE}'
cp -p ${.CURDIR}/../../../sys/arch/amd64/compile/${RAMDISK}/obj/bsd bsd
mr.fs: instbin
diff --git a/distrib/amd64/ramdisk_cd/Makefile.inc b/distrib/amd64/ramdisk_cd/Makefile.inc
index 941716fac3b..9ecce864e28 100644
--- a/distrib/amd64/ramdisk_cd/Makefile.inc
+++ b/distrib/amd64/ramdisk_cd/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.5 2017/06/03 22:25:19 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.6 2017/07/25 13:32:14 robert Exp $
TOP= ${.CURDIR}/..
@@ -78,7 +78,7 @@ bsd.rd: mr.fs bsd rdsetroot
bsd:
cd ${.CURDIR}/../../../sys/arch/amd64/compile/${RAMDISK} && \
- su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Os ${MAKE}'
+ su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Oz ${MAKE}'
cp -p ${.CURDIR}/../../../sys/arch/amd64/compile/${RAMDISK}/obj/bsd bsd
mr.fs: instbin
diff --git a/distrib/i386/common/Makefile.inc b/distrib/i386/common/Makefile.inc
index 70e883ff17c..77686d17c87 100644
--- a/distrib/i386/common/Makefile.inc
+++ b/distrib/i386/common/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.42 2017/06/03 22:25:19 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.43 2017/07/25 13:32:14 robert Exp $
TOP= ${.CURDIR}/..
@@ -57,7 +57,7 @@ unconfig:
DISKTYPE?= rdroot
MAKEFSARGS_RD= -o disklabel=${DISKTYPE},minfree=0,density=4096
-COPTS= -Os -mtune=i486
+COPTS= -Oz -mtune=i486
bsd.gz: bsd.rd
cp bsd.rd bsd.strip
diff --git a/distrib/ramdisk/Makefile b/distrib/ramdisk/Makefile
index ba7ae4adb12..58267acdc5b 100644
--- a/distrib/ramdisk/Makefile
+++ b/distrib/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.48 2017/06/03 22:25:19 deraadt Exp $
+# $OpenBSD: Makefile,v 1.49 2017/07/25 13:32:14 robert Exp $
REV= ${OSrev}
@@ -74,7 +74,7 @@ ${FLOPPY}: bsd.gz ${BOOT} ${BOOTXX}
bsd:
cd ${.CURDIR}/../../sys/arch/${MACHINE}/compile/${KERNEL} && \
- su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Os ${MAKE}'
+ su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Oz ${MAKE}'
cp -p ${.CURDIR}/../../sys/arch/${MACHINE}/compile/${KERNEL}/obj/bsd bsd
bsd.rd: bsd ${IMAGE} rdsetroot
diff --git a/distrib/socppc/ramdisk/Makefile b/distrib/socppc/ramdisk/Makefile
index fcf8823c924..b4e9bb3ed71 100644
--- a/distrib/socppc/ramdisk/Makefile
+++ b/distrib/socppc/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.16 2016/12/22 10:26:47 natano Exp $
+# $OpenBSD: Makefile,v 1.17 2017/07/25 13:32:14 robert Exp $
REV= ${OSrev}
@@ -48,7 +48,7 @@ ${IMAGE}: ${CBIN}
bsd:
cd ${TOP}/../../sys/arch/socppc/compile/RAMDISK && \
- su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Os ${MAKE}'
+ su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Oz ${MAKE}'
cp -p ${TOP}/../../sys/arch/socppc/compile/RAMDISK/obj/bsd bsd
rdsetroot: ${TOP}/../common/elfrdsetroot.c
diff --git a/distrib/sparc64/bsd.rd/Makefile b/distrib/sparc64/bsd.rd/Makefile
index 87e06d11406..b1d572e9a6f 100644
--- a/distrib/sparc64/bsd.rd/Makefile
+++ b/distrib/sparc64/bsd.rd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.31 2017/06/03 22:25:19 deraadt Exp $
+# $OpenBSD: Makefile,v 1.32 2017/07/25 13:32:14 robert Exp $
TOP= ${.CURDIR}/..
@@ -31,7 +31,7 @@ bsd.rd_unz: bsd ${IMAGE} rdsetroot
bsd:
cd ${.CURDIR}/../../../sys/arch/sparc64/compile/${RAMDISK} && \
- su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Os ${MAKE}'
+ su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Oz ${MAKE}'
cp -p ${.CURDIR}/../../../sys/arch/sparc64/compile/${RAMDISK}/obj/bsd bsd
${IMAGE}: ${CBIN}
diff --git a/distrib/sparc64/ramdisk/Makefile b/distrib/sparc64/ramdisk/Makefile
index 4e06bc50036..9fae7b5d9af 100644
--- a/distrib/sparc64/ramdisk/Makefile
+++ b/distrib/sparc64/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.32 2017/01/27 17:59:09 natano Exp $
+# $OpenBSD: Makefile,v 1.33 2017/07/25 13:32:14 robert Exp $
TOP= ${.CURDIR}/..
@@ -78,7 +78,7 @@ ${IMAGE}: ${CBIN}
bsd:
cd ${TOP}/../../sys/arch/sparc64/compile/${KERNEL} && \
- su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Os ${MAKE}'
+ su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Oz ${MAKE}'
cp -p ${TOP}/../../sys/arch/sparc64/compile/${KERNEL}/obj/bsd bsd
elfrdsetroot: ${TOP}/../common/elfrdsetroot.c
diff --git a/distrib/sparc64/ramdiskB/Makefile b/distrib/sparc64/ramdiskB/Makefile
index 4dbf05cc6b7..6c099b1c313 100644
--- a/distrib/sparc64/ramdiskB/Makefile
+++ b/distrib/sparc64/ramdiskB/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.26 2017/01/27 17:59:09 natano Exp $
+# $OpenBSD: Makefile,v 1.27 2017/07/25 13:32:14 robert Exp $
TOP= ${.CURDIR}/..
@@ -78,7 +78,7 @@ ${IMAGE}: ${CBIN}
bsd:
cd ${TOP}/../../sys/arch/sparc64/compile/${KERNEL} && \
- su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Os ${MAKE}'
+ su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Oz ${MAKE}'
cp -p ${TOP}/../../sys/arch/sparc64/compile/${KERNEL}/obj/bsd bsd
elfrdsetroot: ${TOP}/../common/elfrdsetroot.c
diff --git a/distrib/special/Makefile.inc b/distrib/special/Makefile.inc
index 8a8fb56df3c..c6454a08a0b 100644
--- a/distrib/special/Makefile.inc
+++ b/distrib/special/Makefile.inc
@@ -1,6 +1,6 @@
# options for all the directories below
-COPTS+=-Os -fno-stack-protector
+COPTS+=-Oz -fno-stack-protector
MAN=
LDSTATIC=-static
NOPIE=