summaryrefslogtreecommitdiff
path: root/stand/defs.mk
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2019-09-08 19:39:45 +0000
committerToomas Soome <tsoome@FreeBSD.org>2019-09-08 19:39:45 +0000
commit094b40659f8f3978939e18ae3331013da54faeac (patch)
tree0e1ba7a1f684d975fffe7277f1186f005b5c74db /stand/defs.mk
parentc344416ecd8f032f421010fa13bb5cc989d60406 (diff)
downloadsrc-test2-094b40659f8f3978939e18ae3331013da54faeac.tar.gz
src-test2-094b40659f8f3978939e18ae3331013da54faeac.zip
Notes
Diffstat (limited to 'stand/defs.mk')
-rw-r--r--stand/defs.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/stand/defs.mk b/stand/defs.mk
index 9b5d7960e410..1d07cda40300 100644
--- a/stand/defs.mk
+++ b/stand/defs.mk
@@ -65,6 +65,7 @@ CFLAGS+= -Ddouble=jagged-little-pill -Dfloat=floaty-mcfloatface
# Experience has shown that problems arise between ~520k to ~530k.
CFLAGS.clang+= -Oz
CFLAGS.gcc+= -Os
+CFLAGS+= -ffunction-sections -fdata-sections
.endif
# GELI Support, with backward compat hooks (mostly)