summaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2012-01-02 16:59:33 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2012-01-02 16:59:33 +0000
commit359cc391af9447251874c1af8ddcc521ad26d573 (patch)
tree377006be67136e70866bba40ceed9c4c9da1c5dd /makefiles
parent35b43ecb72a1486d3925edc655ea718efbd96c75 (diff)
downloadbuildsystem-359cc391af9447251874c1af8ddcc521ad26d573.tar.gz
buildsystem-359cc391af9447251874c1af8ddcc521ad26d573.tar.bz2
Add -N to LDFLAGS for AmigaOS native and cross compilation
svn path=/trunk/tools/buildsystem/; revision=13368
Diffstat (limited to 'makefiles')
-rw-r--r--makefiles/Makefile.tools5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools
index 181e813..974fc4b 100644
--- a/makefiles/Makefile.tools
+++ b/makefiles/Makefile.tools
@@ -268,10 +268,13 @@ ifeq ($(findstring amiga,$(TARGET)),amiga)
# TODO: this assumes GCC
CFLAGS := $(CFLAGS) -U__STRICT_ANSI__ -I$(GCCSDK_INSTALL_ENV)/include
CXXFLAGS := $(CXXFLAGS) -U__STRICT_ANSI__ -I$(GCCSDK_INSTALL_ENV)/include
- LDFLAGS := $(LDFLAGS) -N -L$(GCCSDK_INSTALL_ENV)/lib
+ LDFLAGS := $(LDFLAGS) -L$(GCCSDK_INSTALL_ENV)/lib
PREFIX ?= $(GCCSDK_INSTALL_ENV)
endif
+
+ # TODO: this assumes GCC
+ LDFLAGS := $(LDFLAGS) -N
endif
# Default prefix