2
0
mirror of https://frontier.innolan.net/github/amigaos-cross-toolchain6.git synced 2024-10-19 10:29:55 +00:00

@N support Cygwin 64bit

This commit is contained in:
bebbo
2017-06-09 09:24:14 +02:00
parent 69d54aba8d
commit 4ad8498d7b
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,9 @@
*** gawk-3.1.8/posix/gawkmisc.c 2017-06-09 08:04:35.260364000 +0200
--- gawk-3.1.8-patched/posix/gawkmisc.c 2017-06-08 23:54:41.644575800 +0200
***************
*** 1,3 ****
--- 1,4 ----
+ #include <io.h>
/* gawkmisc.c --- miscellaneous gawk routines that are OS specific.
Copyright (C) 1986, 1988, 1989, 1991 - 1998, 2001 - 2004 the Free Software Foundation, Inc.

View File

@ -403,6 +403,7 @@ def _build(pull):
make('{m4}', 'install')
unpack('{gawk}')
patch('{gawk}')
update_autotools('{sources}/{gawk}')
configure('{gawk}', '--prefix={host}')
make('{gawk}')
@ -492,7 +493,7 @@ def _build(pull):
'--prefix={prefix}',
'--infodir={prefix}/{target}/info',
'--mandir={prefix}/share/man',
'--host=i686-linux-gnu' if fill_in('{binutils}') != 'binutils-2.14' or platform.system() == 'Darwin' else '--prefix={prefix}',
'--host=i686-linux-gnu' if fill_in('{binutils}') != 'binutils-2.14' or platform.system() == 'Darwin' or fnmatch(platform.system(), "CYGWIN*") else '--prefix={prefix}',
'--target=m68k-amigaos',
from_dir='{submodules}/{binutils}')
touch_genfiles('{submodules}/{binutils}')