summary refs log tree commit diff
path: root/pkgs/servers/x11/xorg/fix-clang.patch
blob: 6b51ebfe3d32d30457503510d13b17f14c87a06b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- xorgserver/hw/xfree86/common/compiler.h	2014-10-29 23:43:33.000000000 -0700
+++ xorgserver/hw/xfree86/common/compiler.h.new	2014-10-29 23:47:30.000000000 -0700
@@ -1352,7 +1352,7 @@
 
 #if !defined(__SUNPRO_C)
 #if !defined(FAKEIT) && !defined(__mc68000__) && !defined(__arm__) && !defined(__sh__) && !defined(__hppa__) && !defined(__s390__) && !defined(__m32r__)
-#ifdef GCCUSESGAS
+#if defined(GCCUSESGAS) || defined(__clang__)
 
 /*
  * If gcc uses gas rather than the native assembler, the syntax of these