mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-26 14:40:12 +01:00
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.
This commit is contained in:
parent
d365f03129
commit
7ea4a88fa3
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue