From 928665675a7c19e3c7ffc2dc83d5b4085866784b Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 26 Jul 2003 02:27:50 +0000 Subject: Change the inline limit switch to something that exists in gcc-3.2. Unfortunately, it has different units. --- sys/conf/kern.pre.mk | 4 ++-- sys/conf/kmod.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys') 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. -- cgit v1.1