drm/radeon: Handle -fms-extensions better (fixes the clang build).
authorSascha Wildner <saw@online.de>
Sat, 25 Oct 2014 13:39:56 +0000 (15:39 +0200)
committerSascha Wildner <saw@online.de>
Sat, 25 Oct 2014 13:39:56 +0000 (15:39 +0200)
commit0513f30695e200972f93fb9cfff42041e37cb8c0
tree3b379f04279521742925bddd34eeb013b84a3e4d
parent7f3a13be111d69beb0fe224e2375f04b527c184d
drm/radeon: Handle -fms-extensions better (fixes the clang build).

FreeBSD has since switched to only using it for GCC (which apparently
complains about anonymous unions). In clang, it will enable Microsoft's
__wchar_t type, which (as in FreeBSD) conflicts with our own one.

We actually only need it for gcc44. Our gcc47 builds radeon.ko fine
without it.
sys/dev/drm/Makefile
sys/dev/drm/radeon/Makefile