diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-07-13 18:06:40 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-07-13 18:06:40 +0000 |
commit | 16bbd13af7244cc0967d9f12327f63ffcaeac4bd (patch) | |
tree | 345f4e74a520be8b1ef6cae6bd9a171938198b79 /src | |
parent | ee0666c8df0022a13fd478fe4a916f647a6338c5 (diff) | |
download | curl-16bbd13af7244cc0967d9f12327f63ffcaeac4bd.tar.gz |
Diego Casorran patches to make (lib)curl build fine on Amiga again
Diffstat (limited to 'src')
-rw-r--r-- | src/config-amigaos.h | 10 | ||||
-rw-r--r-- | src/makefile.amiga | 8 |
2 files changed, 12 insertions, 6 deletions
diff --git a/src/config-amigaos.h b/src/config-amigaos.h index 0f904a30f..e067c9662 100644 --- a/src/config-amigaos.h +++ b/src/config-amigaos.h @@ -17,14 +17,20 @@ #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 -#define HAVE_TERMIOS_H 1 -#define HAVE_FTRUNCATE 1 + +#if 0 +# define HAVE_TERMIOS_H 1 +# define HAVE_FTRUNCATE 1 +#endif #define HAVE_PWD_H 1 #ifndef F_OK # define F_OK 0 #endif +#ifndef O_RDONLY +# define O_RDONLY 0x0000 /* open for reading only */ +#endif #ifndef LONG_MAX # define LONG_MAX 0x7fffffffL /* max value for a long */ #endif diff --git a/src/makefile.amiga b/src/makefile.amiga index 51e084d4b..9e03e070f 100644 --- a/src/makefile.amiga +++ b/src/makefile.amiga @@ -7,9 +7,9 @@ ATCPSDKI= /GG/netinclude -CC = gcc -CFLAGS = -I$(ATCPSDKI) -m68020-60 -noixemul -I. -I../include -W -Wall -LIBS = ../lib/libcurl.a -lsslnix -lcryptonix -lz +CC = m68k-amigaos-gcc +CFLAGS = -I$(ATCPSDKI) -m68020-60 -O2 -msoft-float -noixemul -g -I. -I../include -W -Wall +LIBS = ../lib/libcurl.a -lssl -lcrypto -lz MANPAGE = ../docs/curl.1 README = ../docs/MANUAL MKHELP = ../src/mkhelp.pl @@ -18,7 +18,7 @@ OBJS = getpass.c hugehelp.c main.c urlglob.c writeenv.c writeout.c all: hugehelp.c $(OBJS:.c=.o) - $(CC) $(CFLAGS) -s -o cURL $(OBJS:.c=.o) $(LIBS) + $(CC) $(CFLAGS) -o cURL $(OBJS:.c=.o) $(LIBS) -Wl,-Map,cURL.map,--cref hugehelp.c: $(README) $(MANPAGE) mkhelp.pl rm -f hugehelp.c |