summaryrefslogtreecommitdiffstats
path: root/meta/packages/mesa/mesa-dri/crossfix.patch
blob: 84be428c4fb96b9b2e5fc08e678826199592e4a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: Mesa-7.5/bin/mklib
===================================================================
--- Mesa-7.5.orig/bin/mklib	2009-08-12 13:01:34.000000000 +0100
+++ Mesa-7.5/bin/mklib	2009-08-12 13:04:19.000000000 +0100
@@ -234,9 +234,9 @@
 	if [ "x$LINK" = "x" ] ; then
 	    # -linker was not specified so set default link command now
             if [ $CPLUSPLUS = 1 ] ; then
-                LINK=g++
+                LINK=$CXX
             else
-                LINK=gcc
+                LINK=$CC
             fi
 	fi