summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.pre.mk4
-rw-r--r--sys/conf/kmod.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
index 16a7a5e..3c64b3b0 100644
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -53,8 +53,8 @@ PROF= -pg
.endif
DEFINED_PROF= ${PROF}
#WERROR?= -Werror
-INLINE_LIMIT?= 2500
-CFLAGS+= --param max-inline-insns-single=${INLINE_LIMIT}
+INLINE_LIMIT?= 15000
+CFLAGS+= -finline-limit=${INLINE_LIMIT}
# Put configuration-specific C flags last (except for ${PROF}) so that they
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 15b2e98..0a7aeaf 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -99,8 +99,8 @@ CFLAGS+= -I${DESTDIR}/usr/include
CFLAGS+= -I@/../include -I${DESTDIR}/usr/include
.endif # @
-INLINE_LIMIT?= 2500
-CFLAGS+= --param max-inline-insns-single=${INLINE_LIMIT}
+INLINE_LIMIT?= 15000
+CFLAGS+= -finline-limit=${INLINE_LIMIT}
# Disallow common variables, and if we end up with commons from
# somewhere unexpected, allocate storage for them in the module itself.
OpenPOWER on IntegriCloud