summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.amd64
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2013-07-09 08:42:02 +0000
committeravg <avg@FreeBSD.org>2013-07-09 08:42:02 +0000
commitf9d5ea16d37a7279d1235b618cac0e3263f8a03d (patch)
tree674d076b5bf7070eb7bd6790b9edd830a1416859 /sys/conf/Makefile.amd64
parentdbecaf37d8b8ba68edba9414415ec0cbe853b658 (diff)
downloadFreeBSD-src-f9d5ea16d37a7279d1235b618cac0e3263f8a03d.zip
FreeBSD-src-f9d5ea16d37a7279d1235b618cac0e3263f8a03d.tar.gz
amd64: use -mno-omit-leaf-frame-pointer in addition to -fno-omit-frame-pointer
... in kernel builds. This is to make behavior of clang consistent with behavior of gcc. MFC after: 2 weeks
Diffstat (limited to 'sys/conf/Makefile.amd64')
-rw-r--r--sys/conf/Makefile.amd642
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/Makefile.amd64 b/sys/conf/Makefile.amd64
index 716c742..7b1c164 100644
--- a/sys/conf/Makefile.amd64
+++ b/sys/conf/Makefile.amd64
@@ -34,7 +34,7 @@ S= ../../..
INCLUDES+= -I$S/contrib/libfdt
.if !empty(DDB_ENABLED) || !empty(DTR_ENABLED) || !empty(HWPMC_ENABLED)
-CFLAGS+= -fno-omit-frame-pointer
+CFLAGS+= -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
.endif
MKMODULESENV+= MACHINE=amd64
OpenPOWER on IntegriCloud