summaryrefslogtreecommitdiffstats
path: root/mbbsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/Makefile')
-rw-r--r--mbbsd/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mbbsd/Makefile b/mbbsd/Makefile
index 1c4b6ee6..863a053d 100644
--- a/mbbsd/Makefile
+++ b/mbbsd/Makefile
@@ -20,6 +20,11 @@ OBJS+= random.o time.o
DIETCC= diet -Os
.endif
+# reduce .bss align overhead
+.if !defined(DEBUG)
+LDFLAGS+=-Wl,--sort-common
+.endif
+
.if defined(MERGEBBS)
CFLAGS+= -DMERGEBBS
OBJS+= merge.o