summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa/crossfix.patch
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-10-13 09:20:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-14 13:18:09 +0100
commit77fa7e113b9be222c902ecab8bf3d25de991d1c8 (patch)
tree4f99da21d3a275b01c773e4eb9b11b5299ea74be /meta/recipes-graphics/mesa/mesa/crossfix.patch
parent462f77aa3a6a9b055f4435b10eb24013bec1b374 (diff)
downloadpoky-77fa7e113b9be222c902ecab8bf3d25de991d1c8.tar.gz
mesa: move common patches which could be used in both mesa-dri and mesa-xlib from mesa-dri to mesa
(From OE-Core rev: 76f4be998f6608799b66821a334f1ca7ddc2aba2) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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