summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa/crossfix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa/crossfix.patch')
-rw-r--r--meta/recipes-graphics/mesa/mesa/crossfix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa/crossfix.patch b/meta/recipes-graphics/mesa/mesa/crossfix.patch
new file mode 100644
index 0000000000..d300e2f1b3
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa/crossfix.patch
@@ -0,0 +1,18 @@
1Upstream-Status: Pending
2
3Index: Mesa-7.5/bin/mklib
4===================================================================
5--- Mesa-7.5.orig/bin/mklib 2009-08-12 13:01:34.000000000 +0100
6+++ Mesa-7.5/bin/mklib 2009-08-12 13:04:19.000000000 +0100
7@@ -234,9 +234,9 @@
8 if [ "x$LINK" = "x" ] ; then
9 # -linker was not specified so set default link command now
10 if [ $CPLUSPLUS = 1 ] ; then
11- LINK=g++
12+ LINK=$CXX
13 else
14- LINK=gcc
15+ LINK=$CC
16 fi
17 fi
18