History log of /openbsd-current/distrib/special/Makefile.inc
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.10 16-Apr-2023 deraadt

if (actually... when) the compiler is flipped to do BTI/ENDBR by default,
the install media would grow too much, so use the same strategy as we
for stack protector and other things: disable them, just on the install
media
ok kettenis


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.9 10-Mar-2021 jsg

Build install media with -fno-asynchronous-unwind-tables to further
reduce size. Allows a clang 11 amd64 release to complete without
overflowing the floppy image.

ok kettenis@ deraadt@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.8 18-Oct-2018 naddy

Ensure that the install media are built with a consistent set of
compiler flags. Pass DIST_CFLAGS from the crunchgen-generated .mk
file.

Compile the install media with -fno-unwind-tables to avoid emitting
.eh_frame sections. This saves substantial space on amd64.

with/ok kettenis@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.7 25-Jul-2017 robert

change -Os to -Oz all around the tree

clang optimizes better for size with -Oz so use that as a default to avoid
overflowing the ramdisk floppies. gcc now accepts -Oz as an alias for -Os.

ok kettenis@


Revision tags: OPENBSD_6_1_BASE
# 1.6 02-Sep-2016 deraadt

backout accidental commit


# 1.5 01-Sep-2016 deraadt

remove sparc media building goop


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.4 11-Jan-2014 deraadt

use NOMAN=1 for all directories


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.3 10-Sep-2012 deraadt

compile as much as possible on the install media with -fno-stack-protector.
yeah, you heard right..


# 1.2 21-Aug-2012 pascal

Build sed in distrib/ just like everything else. Simplifies PIE work since
we can now use NOPIE= for it. Note that NOPIE= is still a no-op atm.

ok deraadt@


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.1 28-Oct-2009 deraadt

Use a Makefile.inc to share all the -Os and such options we use


# 1.9 10-Mar-2021 jsg

Build install media with -fno-asynchronous-unwind-tables to further
reduce size. Allows a clang 11 amd64 release to complete without
overflowing the floppy image.

ok kettenis@ deraadt@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.8 18-Oct-2018 naddy

Ensure that the install media are built with a consistent set of
compiler flags. Pass DIST_CFLAGS from the crunchgen-generated .mk
file.

Compile the install media with -fno-unwind-tables to avoid emitting
.eh_frame sections. This saves substantial space on amd64.

with/ok kettenis@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.7 25-Jul-2017 robert

change -Os to -Oz all around the tree

clang optimizes better for size with -Oz so use that as a default to avoid
overflowing the ramdisk floppies. gcc now accepts -Oz as an alias for -Os.

ok kettenis@


Revision tags: OPENBSD_6_1_BASE
# 1.6 02-Sep-2016 deraadt

backout accidental commit


# 1.5 01-Sep-2016 deraadt

remove sparc media building goop


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.4 11-Jan-2014 deraadt

use NOMAN=1 for all directories


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.3 10-Sep-2012 deraadt

compile as much as possible on the install media with -fno-stack-protector.
yeah, you heard right..


# 1.2 21-Aug-2012 pascal

Build sed in distrib/ just like everything else. Simplifies PIE work since
we can now use NOPIE= for it. Note that NOPIE= is still a no-op atm.

ok deraadt@


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.1 28-Oct-2009 deraadt

Use a Makefile.inc to share all the -Os and such options we use


# 1.8 18-Oct-2018 naddy

Ensure that the install media are built with a consistent set of
compiler flags. Pass DIST_CFLAGS from the crunchgen-generated .mk
file.

Compile the install media with -fno-unwind-tables to avoid emitting
.eh_frame sections. This saves substantial space on amd64.

with/ok kettenis@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.7 25-Jul-2017 robert

change -Os to -Oz all around the tree

clang optimizes better for size with -Oz so use that as a default to avoid
overflowing the ramdisk floppies. gcc now accepts -Oz as an alias for -Os.

ok kettenis@


Revision tags: OPENBSD_6_1_BASE
# 1.6 02-Sep-2016 deraadt

backout accidental commit


# 1.5 01-Sep-2016 deraadt

remove sparc media building goop


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.4 11-Jan-2014 deraadt

use NOMAN=1 for all directories


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.3 10-Sep-2012 deraadt

compile as much as possible on the install media with -fno-stack-protector.
yeah, you heard right..


# 1.2 21-Aug-2012 pascal

Build sed in distrib/ just like everything else. Simplifies PIE work since
we can now use NOPIE= for it. Note that NOPIE= is still a no-op atm.

ok deraadt@


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.1 28-Oct-2009 deraadt

Use a Makefile.inc to share all the -Os and such options we use


Revision tags: OPENBSD_6_2_BASE
# 1.7 25-Jul-2017 robert

change -Os to -Oz all around the tree

clang optimizes better for size with -Oz so use that as a default to avoid
overflowing the ramdisk floppies. gcc now accepts -Oz as an alias for -Os.

ok kettenis@


Revision tags: OPENBSD_6_1_BASE
# 1.6 02-Sep-2016 deraadt

backout accidental commit


# 1.5 01-Sep-2016 deraadt

remove sparc media building goop


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.4 11-Jan-2014 deraadt

use NOMAN=1 for all directories


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.3 10-Sep-2012 deraadt

compile as much as possible on the install media with -fno-stack-protector.
yeah, you heard right..


# 1.2 21-Aug-2012 pascal

Build sed in distrib/ just like everything else. Simplifies PIE work since
we can now use NOPIE= for it. Note that NOPIE= is still a no-op atm.

ok deraadt@


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.1 28-Oct-2009 deraadt

Use a Makefile.inc to share all the -Os and such options we use