summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2005-06-27 14:33:32 +0000
committercognet <cognet@FreeBSD.org>2005-06-27 14:33:32 +0000
commit29da6ca1b04b0369ca61c8851f029b6b6077bc88 (patch)
treef7a0c611f9733ada50567e9501ad2d9222c13437 /sys/conf
parent8925fd7b5630f9228b3ddea667d5dc11deb85c61 (diff)
downloadFreeBSD-src-29da6ca1b04b0369ca61c8851f029b6b6077bc88.zip
FreeBSD-src-29da6ca1b04b0369ca61c8851f029b6b6077bc88.tar.gz
Use -mno-apcs-frame if DEBUG isn't defined.
Approved by: re (blanket)
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/Makefile.arm3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm
index e2ee825..1785001 100644
--- a/sys/conf/Makefile.arm
+++ b/sys/conf/Makefile.arm
@@ -41,6 +41,9 @@ CC += -mbig-endian
SYSTEM_LD += -EB
.endif
+.if !defined(DEBUG)
+CFLAGS += -mno-apcs-frame
+.endif
%BEFORE_DEPEND
%OBJS
OpenPOWER on IntegriCloud