Skip to content

Commit

Permalink
amiga: do not hardcode openssl/zlib into the os configuration [ci skip]
Browse files Browse the repository at this point in the history
Enable them in `lib/makefile.amiga` instead.

This allows builds without openssl and/or zlib. E.g. with the
https://github.com/bebbo/amiga-gcc cross-compiler.

Closes #xxxx
  • Loading branch information
vszakats committed Oct 18, 2022
1 parent dae8480 commit a3a1c66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions lib/config-amigaos.h
Expand Up @@ -36,7 +36,6 @@
#define HAVE_INTTYPES_H 1
#define HAVE_IOCTLSOCKET_CAMEL 1
#define HAVE_IOCTLSOCKET_CAMEL_FIONBIO 1
#define HAVE_LIBZ 1
#define HAVE_LONGLONG 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
Expand Down Expand Up @@ -73,7 +72,6 @@
#define SIZEOF_SIZE_T 4

#define USE_MANUAL 1
#define USE_OPENSSL 1
#define CURL_DISABLE_LDAP 1

#define OS "AmigaOS"
Expand Down
2 changes: 1 addition & 1 deletion lib/makefile.amiga
Expand Up @@ -31,7 +31,7 @@ ATCPSDKI= /GG/netinclude


CC = m68k-amigaos-gcc
CFLAGS = -I$(ATCPSDKI) -m68020-60 -O2 -msoft-float -noixemul -g -I. -I../include -W -Wall
CFLAGS = -I$(ATCPSDKI) -m68020-60 -O2 -msoft-float -noixemul -g -I. -I../include -W -Wall -DUSE_OPENSSL -DHAVE_LIBZ

include Makefile.inc
OBJS = $(CSOURCES:.c=.o)
Expand Down

0 comments on commit a3a1c66

Please sign in to comment.