Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

gcc: remove the offending freetype broken link at install.

  • Loading branch information...
commit 9374f59ae0ddd9b8a781922ae31089674ccd8043 1 parent 8fcdcbc
@Florin65 Florin65 authored
Showing with 9 additions and 3 deletions.
  1. +5 −2 compilers/gcc/BUILD
  2. +4 −1 compilers/gcc/BUILD.x86_64
View
7 compilers/gcc/BUILD
@@ -39,10 +39,13 @@
cd /usr/lib/gcc/$BUILD/$VERSION &&
ln -sf /usr/bin/cpp cpp &&
cd /lib/ &&
- ln -sf /usr/bin/cpp cpp &&
+ ln -sf /usr/bin/cpp cpp &&
if [ ! -e /usr/bin/cc ] ; then
ln -s gcc /usr/bin/cc
- fi
+ fi &&
+
+# remove the offending broken freetype link
+ rm -f $MODULE_PREFIX/lib/gcc/$BUILD/$VERSION/include-fixed/freetype
) > $C_FIFO 2>&1
View
5 compilers/gcc/BUILD.x86_64
@@ -45,6 +45,9 @@
if [ ! -e /usr/bin/cc ] ; then
ln -s gcc /usr/bin/cc
- fi
+ fi &&
+
+# remove the offending freetype broken link
+ rm -f $MODULE_PREFIX/lib/gcc/$BUILD/$VERSION/include-fixed/freetype
) > $C_FIFO 2>&1
Please sign in to comment.
Something went wrong with that request. Please try again.