mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 23:42:34 +02:00
* fixed bashisms
git-svn-id: trunk@5994 -
This commit is contained in:
parent
c9703d43d5
commit
6604b8ba06
@ -5,7 +5,7 @@
|
|||||||
# Generate Sample Free Pascal configuration file
|
# Generate Sample Free Pascal configuration file
|
||||||
#
|
#
|
||||||
|
|
||||||
function setgccdir() {
|
setgccdir() {
|
||||||
# Find path to libgcc.a
|
# Find path to libgcc.a
|
||||||
GCCSPEC=`(gcc -v $@ 2>&1)| head -n 1| awk '{ print $4 } '`
|
GCCSPEC=`(gcc -v $@ 2>&1)| head -n 1| awk '{ print $4 } '`
|
||||||
if [ -z "$GCCSPEC" ] ; then
|
if [ -z "$GCCSPEC" ] ; then
|
||||||
@ -15,7 +15,7 @@ GCCDIR=`dirname $GCCSPEC`
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function setgccdirarch() {
|
setgccdirarch() {
|
||||||
# Find path to libgcc.a
|
# Find path to libgcc.a
|
||||||
GCCSPEC=`(gcc -v -arch $1 2>&1)| head -n 1| awk '{ print $4 } '`
|
GCCSPEC=`(gcc -v -arch $1 2>&1)| head -n 1| awk '{ print $4 } '`
|
||||||
if [ -z "$GCCSPEC" ] ; then
|
if [ -z "$GCCSPEC" ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user