From: Eric Anholt Date: Wed, 17 May 2006 05:41:48 +0000 (+0000) Subject: Add the workaround that's in the kernel to suppress GCC's warning about X-Git-Tag: libdrm-2_0_2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ea4a88fa30d9608b09dc0052b20e54301db547a;p=platform%2Fupstream%2Flibdrm.git Add the workaround that's in the kernel to suppress GCC's warning about refusal to inline functions that (in some cases, at least) aren't that large. --- diff --git a/bsd-core/radeon/Makefile b/bsd-core/radeon/Makefile index 3348a86..7fe27f6 100644 --- a/bsd-core/radeon/Makefile +++ b/bsd-core/radeon/Makefile @@ -8,6 +8,10 @@ SRCS = r300_cmdbuf.c radeon_cp.c radeon_drv.c radeon_state.c radeon_irq.c \ SRCS += device_if.h bus_if.h pci_if.h opt_drm.h CFLAGS += ${DEBUG_FLAGS} -I. -I.. +.if ${CC} != "icc" +CFLAGS += --param large-function-growth=1000 +.endif + .if defined(DRM_DEBUG) DRM_DEBUG_OPT= "\#define DRM_DEBUG 1" .endif