[PATCH util-macros] XORG_TESTSET_CFLAG: add -fd which is the SUNCC -Wold-style-definition

Gaetan Nadon memsize at videotron.ca
Mon Dec 2 15:37:37 PST 2013


Seen in the XCB configuration and found missing in xorg.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 xorg-macros.m4.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in
index 20a0bd0..0a547c7 100644
--- a/xorg-macros.m4.in
+++ b/xorg-macros.m4.in
@@ -1638,7 +1638,7 @@ AC_LANG_CASE(
 		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-prototypes])
 		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wnested-externs])
 		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wbad-function-cast])
-		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wold-style-definition])
+		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wold-style-definition], [-fd])
 		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wdeclaration-after-statement])
 	]
 )
-- 
1.7.9.5



More information about the xorg-devel mailing list