git: drm/radeon: Handle -fms-extensions better (fixes the clang build).

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Oct 25 06:40:16 PDT 2014


commit 0513f30695e200972f93fb9cfff42041e37cb8c0
Author: Sascha Wildner <saw at online.de>
Date:   Sat Oct 25 15:39:56 2014 +0200

    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.

Summary of changes:
 sys/dev/drm/Makefile        | 6 +-----
 sys/dev/drm/radeon/Makefile | 6 +++++-
 2 files changed, 6 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0513f30695e200972f93fb9cfff42041e37cb8c0


-- 
DragonFly BSD source repository



More information about the Commits mailing list