diff options
author | dim <dim@FreeBSD.org> | 2013-12-30 20:34:53 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-12-30 20:34:53 +0000 |
commit | 076aa80e8fe1eabade669c7154184730631a9b41 (patch) | |
tree | 7a016fe5f61c11d9f2c394240883db0585716120 /sys/modules/drm2 | |
parent | a54ccfd7d63be0285f5e4adcb2f0d0ee943fd02f (diff) | |
download | FreeBSD-src-076aa80e8fe1eabade669c7154184730631a9b41.zip FreeBSD-src-076aa80e8fe1eabade669c7154184730631a9b41.tar.gz |
Similar to r260020, only use -fms-extensions with gcc, for all other
modules which require this flag to compile. Use a GCC_MS_EXTENSIONS
variable, defined in kern.pre.mk, which can be used to easily supply the
flag (or not), depending on the compiler type.
MFC after: 3 days
Diffstat (limited to 'sys/modules/drm2')
-rw-r--r-- | sys/modules/drm2/radeonkms/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/modules/drm2/radeonkms/Makefile b/sys/modules/drm2/radeonkms/Makefile index 37dae12..3786a5e 100644 --- a/sys/modules/drm2/radeonkms/Makefile +++ b/sys/modules/drm2/radeonkms/Makefile @@ -105,9 +105,6 @@ SRCS += \ iicbus_if.h \ pci_if.h -CFLAGS += -I${.CURDIR}/../../../dev/drm2/radeon -.if ${COMPILER_TYPE} == "gcc" -CFLAGS += -fms-extensions -.endif +CFLAGS += -I${.CURDIR}/../../../dev/drm2/radeon ${GCC_MS_EXTENSIONS} .include <bsd.kmod.mk> |