summaryrefslogtreecommitdiff
path: root/package/x11r7/mesa3d/mesa3d-gen_matypes-fix.patch
blob: caa8b3141df452442e250286838b6c5b2cc46c37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ruN Mesa-7.2.orig/src/mesa/x86/Makefile Mesa-7.2/src/mesa/x86/Makefile
--- Mesa-7.2.orig/src/mesa/x86/Makefile	2008-08-25 16:46:47.000000000 +0200
+++ Mesa-7.2/src/mesa/x86/Makefile	2009-05-08 08:46:34.000000000 +0200
@@ -21,7 +21,7 @@
 
 
 gen_matypes: gen_matypes.c
-	$(CC) $(INCLUDE_DIRS) $(CFLAGS) gen_matypes.c -o gen_matypes
+	$(CC_FOR_BUILD) $(INCLUDE_DIRS) $(CFLAGS_FOR_BUILD) gen_matypes.c -o gen_matypes
 
 # need some special rules here, unfortunately
 matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes