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