mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 05:59:34 +02:00
* fix for gcc4 from Colin Western
git-svn-id: trunk@467 -
This commit is contained in:
parent
78abd0b9d8
commit
bd676198c1
@ -43,6 +43,9 @@ fi
|
||||
|
||||
# Find path to libgcc.a
|
||||
GCCSPEC=`(gcc -v 2>&1)| head -n 1| awk '{ print $4 } '`
|
||||
if [ -z "$GCCSPEC" ] ; then
|
||||
GCCSPEC=`gcc -print-libgcc-file-name`
|
||||
fi
|
||||
GCCDIR=`dirname $GCCSPEC`
|
||||
echo $GCCDIR
|
||||
if [ -f $GCCDIR ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user