Permalink
Browse files

gcc: remove the offending freetype broken link at install.

  • Loading branch information...
Florin65 committed Oct 13, 2012
1 parent 8fcdcbc commit 9374f59ae0ddd9b8a781922ae31089674ccd8043
Showing with 9 additions and 3 deletions.
  1. +5 −2 compilers/gcc/BUILD
  2. +4 −1 compilers/gcc/BUILD.x86_64
View
@@ -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
@@ -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

0 comments on commit 9374f59

Please sign in to comment.