summaryrefslogtreecommitdiff
path: root/sdk/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-10-16 15:13:42 +0100
committerVincent Sanders <vince@kyllikki.org>2014-10-16 15:13:42 +0100
commit7ffc6514610176a548f286a62f2806f3b6d88d84 (patch)
treeace1f7e24e042cb64ba0ef03f3fd03e7e7064b54 /sdk/Makefile
parent914851010d943d034a35bfb0fd7002edd245c67f (diff)
downloadtoolchains-7ffc6514610176a548f286a62f2806f3b6d88d84.tar.gz
toolchains-7ffc6514610176a548f286a62f2806f3b6d88d84.tar.bz2
update atari toolchain build to work again
Diffstat (limited to 'sdk/Makefile')
-rw-r--r--sdk/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sdk/Makefile b/sdk/Makefile
index 29507b6..b023dab 100644
--- a/sdk/Makefile
+++ b/sdk/Makefile
@@ -102,6 +102,7 @@ ifeq ($(TARGET),m68k-atari-mint)
EXTRAARGS_LIBCARES := --disable-shared
EXTRAARGS_LIBCURL := --enable-optimize --enable-nonblocking --enable-ares --with-random="/dev/urandom" --disable-manual --disable-curldebug --disable-thread --disable-threaded-resolver
EXTRAARGS_LIBICONV := --enable-extra-encodings
+ LIBICONV_ENV := CFLAGS="-DPATH_MAX=1024"
endif
ifeq ($(TARGET),m5475-atari-mint)
@@ -109,6 +110,7 @@ ifeq ($(TARGET),m5475-atari-mint)
EXTRAARGS_LIBCARES := --disable-shared
EXTRAARGS_LIBCURL := --enable-optimize --enable-nonblocking --enable-ares --with-random="/dev/urandom" --disable-manual --disable-curldebug --disable-thread --disable-threaded-resolver
EXTRAARGS_LIBICONV := --enable-extra-encodings
+ LIBICONV_ENV := CFLAGS="-DPATH_MAX=1024"
endif
ifeq ($(TARGET),ppc-amigaos)
@@ -177,7 +179,7 @@ $(BUILDSTEPS)/libiconv.d: $(BUILDSTEPS)/builddir.d $(BUILDSTEPS)/libiconv-src.d
ifneq ($(realpath $(RECIPES)/patches/libiconv/$(TARGET)),)
for p in `ls $(RECIPES)/patches/libiconv/$(TARGET)/*.p` ; do $(PATCH) -d $(BUILDDIR)/libiconv/libiconv-$(VERSION_LIBICONV) -p0 <$$p ; done
endif
- cd $(BUILDDIR)/libiconv/libiconv-$(VERSION_LIBICONV) && $(env) ./configure --prefix=$(GCCSDK_INSTALL_ENV) --target=$(TARGET) --host=$(TARGET) --disable-shared $(EXTRAARGS_LIBICONV)
+ cd $(BUILDDIR)/libiconv/libiconv-$(VERSION_LIBICONV) && $(env) $(LIBICONV_ENV) ./configure --prefix=$(GCCSDK_INSTALL_ENV) --target=$(TARGET) --host=$(TARGET) --disable-shared $(EXTRAARGS_LIBICONV)
cd $(BUILDDIR)/libiconv/libiconv-$(VERSION_LIBICONV) && $(env) make install
touch $@