summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa/crossfix.patch
blob: d300e2f1b3d9e8033bd040fe90c1ada8ab12a5bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Upstream-Status: Pending

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