From owner-svn-src-stable-9@FreeBSD.ORG Thu Mar 20 21:12:23 2014 Return-Path: Delivered-To: svn-src-stable-9@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6628F5F; Thu, 20 Mar 2014 21:12:23 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9273837D; Thu, 20 Mar 2014 21:12:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2KLCN9J028419; Thu, 20 Mar 2014 21:12:23 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2KLCNor028418; Thu, 20 Mar 2014 21:12:23 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201403202112.s2KLCNor028418@svn.freebsd.org> From: Dimitry Andric Date: Thu, 20 Mar 2014 21:12:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r263448 - stable/9/sys/modules/drm2/radeonkms X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-9@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for only the 9-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2014 21:12:23 -0000 Author: dim Date: Thu Mar 20 21:12:23 2014 New Revision: 263448 URL: http://svnweb.freebsd.org/changeset/base/263448 Log: MFC r260020: For sys/dev/drm2/radeon, only use -fms-extensions with gcc. This flag is only to stop gcc complaining about anonymous unions, which clang does not do. For clang 3.4 however, -fms-extensions enables the Microsoft __wchar_t type, which clashes with our own types.h. Modified: stable/9/sys/modules/drm2/radeonkms/Makefile Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/modules/drm2/radeonkms/Makefile ============================================================================== --- stable/9/sys/modules/drm2/radeonkms/Makefile Thu Mar 20 20:55:57 2014 (r263447) +++ stable/9/sys/modules/drm2/radeonkms/Makefile Thu Mar 20 21:12:23 2014 (r263448) @@ -1,5 +1,7 @@ # $FreeBSD$ +.include + .PATH: ${.CURDIR}/../../../dev/drm2/radeon KMOD = radeonkms @@ -101,7 +103,6 @@ SRCS += \ iicbus_if.h \ pci_if.h -CFLAGS += -I${.CURDIR}/../../../dev/drm2/radeon \ - -fms-extensions +CFLAGS += -I${.CURDIR}/../../../dev/drm2/radeon ${GCC_MS_EXTENSIONS} .include