-# $OpenBSD: Makefile,v 1.19 2012/09/01 15:10:06 pascal Exp $
+# $OpenBSD: Makefile,v 1.20 2015/10/22 18:54:41 miod Exp $
# $NetBSD: Makefile,v 1.17 1997/04/17 07:27:46 thorpej Exp $
S= ${.CURDIR}/../../../..
AFLAGS += -DASSEMBLER ${DEFNS} -fno-pie
CPPFLAGS += -I${.CURDIR}/../../../../lib/libsa -I${.CURDIR}/../.. -I${S} ${DEFNS}
-CFLAGS = -Os -Werror -mno-fp-regs -fno-pie
+CFLAGS = -Os -Werror -mno-fp-regs -fno-pie \
+ -msmall-data -msmall-text
${PROG}.nosym: ${PROG}.sym
cp ${PROG}.sym ${PROG}.nosym
-# $OpenBSD: Makefile,v 1.14 2013/06/13 11:27:56 deraadt Exp $
+# $OpenBSD: Makefile,v 1.15 2015/10/22 18:54:41 miod Exp $
# $NetBSD: Makefile,v 1.12 1997/04/17 07:27:49 thorpej Exp $
S= ${.CURDIR}/../../../..
AFLAGS += -DASSEMBLER ${DEFNS} -fno-pie
CPPFLAGS += -I${.CURDIR}/../.. -I${S} ${DEFNS}
-CFLAGS = -Werror -mno-fp-regs -fno-pie
+CFLAGS = -Werror -mno-fp-regs -fno-pie \
+ -msmall-data -msmall-text
${PROG}.nosym: ${PROG}.sym
cp ${PROG}.sym ${PROG}.nosym