summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-03-09 21:09:37 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-03-09 21:09:37 +0000
commitefa383427250b29104692171947badc18b5a44d0 (patch)
tree291c5ca46b08622568bf500f0d858e62dceae9ce
parent2d2a66d887986355cfcc83531a69cd501d0dc642 (diff)
downloadbuildsystem-efa383427250b29104692171947badc18b5a44d0.tar.gz
buildsystem-efa383427250b29104692171947badc18b5a44d0.tar.bz2
Undefine __STRICT_ANSI__ for AmigaOS targets
svn path=/trunk/tools/buildsystem/; revision=11948
-rw-r--r--makefiles/Makefile.tools4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools
index c3db959..f3fb9db 100644
--- a/makefiles/Makefile.tools
+++ b/makefiles/Makefile.tools
@@ -264,8 +264,8 @@ ifeq ($(findstring amiga,$(TARGET)),amiga)
PKGCONFIG ?= PKG_CONFIG_LIBDIR="$(GCCSDK_INSTALL_ENV)/lib/pkgconfig" pkg-config
# TODO: this assumes GCC
- CFLAGS := $(CFLAGS) -I$(GCCSDK_INSTALL_ENV)/include
- CXXFLAGS := $(CXXFLAGS) -I$(GCCSDK_INSTALL_ENV)/include
+ CFLAGS := $(CFLAGS) -U__STRICT_ANSI__ -I$(GCCSDK_INSTALL_ENV)/include
+ CXXFLAGS := $(CXXFLAGS) -U__STRICT_ANSI__ -I$(GCCSDK_INSTALL_ENV)/include
LDFLAGS := $(LDFLAGS) -L$(GCCSDK_INSTALL_ENV)/lib
PREFIX ?= $(GCCSDK_INSTALL_ENV)