summaryrefslogtreecommitdiffstats
path: root/gcc/fixinc/mkfixinc.sh
diff options
context:
space:
mode:
authorkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-02 18:30:48 +0000
committerkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-02 18:30:48 +0000
commit0f658b995761c4b86b557cfbc5a87cc0d855ae92 (patch)
tree48c7fc56456182261056d1b2becc0ad182f9eb5b /gcc/fixinc/mkfixinc.sh
parent2c18cb5ce2f91c0171402179094f29145a8a5b8f (diff)
downloadppe42-gcc-0f658b995761c4b86b557cfbc5a87cc0d855ae92.tar.gz
ppe42-gcc-0f658b995761c4b86b557cfbc5a87cc0d855ae92.zip
Enable fixincludes for msdosdjgpp
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37956 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc/mkfixinc.sh')
-rwxr-xr-xgcc/fixinc/mkfixinc.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/fixinc/mkfixinc.sh b/gcc/fixinc/mkfixinc.sh
index 6a86ea98dd7..8383989368e 100755
--- a/gcc/fixinc/mkfixinc.sh
+++ b/gcc/fixinc/mkfixinc.sh
@@ -45,6 +45,10 @@ case $machine in
fixincludes=fixinc.ptx
;;
+ i?86-*-msdosdjgpp* )
+ MAKE="${MAKE} -f ${srcdir}/Makefile.DOS srcdir=${srcdir}"
+ ;;
+
alpha*-dec-vms* | \
arm-semi-aout | armel-semi-aout | \
arm-semi-aof | armel-semi-aof | \
@@ -62,7 +66,7 @@ case $machine in
i?86-*-win32 | \
i?86-*-pe | i?86-*-cygwin* | \
i?86-*-mingw32* | \
- i?86-*-uwin* | i?86-*-msdosdjgpp* | \
+ i?86-*-uwin* | \
mips-sgi-irix5cross64 | \
powerpc-*-eabiaix* | \
powerpc-*-eabisim* | \
@@ -101,6 +105,7 @@ fi
# OK. We gotta make the thing.
# make and install either the binary or the default script
-cmd="$MAKE SHELL=\"$SHELL\" CC=\"$CC\" CFLAGS=\"$CFLAGS\" LDFLAGS=\"$LDFLAGS\" install-bin"
+defs="SHELL=\"$SHELL\" CC=\"$CC\" CFLAGS=\"$CFLAGS\" LDFLAGS=\"$LDFLAGS\""
+cmd="$MAKE ${defs} install-bin"
echo $cmd
eval $cmd
OpenPOWER on IntegriCloud