summaryrefslogtreecommitdiff
path: root/makefiles/Makefile.tools
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-28 11:29:46 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-28 11:29:46 +0000
commit9785ccc2e942ebd0951a2104dd249f88a59d3700 (patch)
tree4bfa1a0823e5c3a7a5b29d871d815a2789d39c31 /makefiles/Makefile.tools
parentb461aced47881fb1be66bac3d4e0a14b59e2cf59 (diff)
downloadbuildsystem-9785ccc2e942ebd0951a2104dd249f88a59d3700.tar.gz
buildsystem-9785ccc2e942ebd0951a2104dd249f88a59d3700.tar.bz2
Something approximating support for assembler sources.
svn path=/trunk/tools/buildsystem/; revision=8846
Diffstat (limited to 'makefiles/Makefile.tools')
-rw-r--r--makefiles/Makefile.tools5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools
index 65933da..e47f48e 100644
--- a/makefiles/Makefile.tools
+++ b/makefiles/Makefile.tools
@@ -197,7 +197,7 @@ TOUCH ?= touch
XSLTPROC ?= xsltproc
###############################################################################
-# Default compiler/linker/archiver flags
+# Default assembler/compiler/linker/archiver flags
###############################################################################
ifeq ($(BUILD),release)
@@ -211,7 +211,10 @@ ifeq ($(origin ARFLAGS),default)
ARFLAGS := cru
endif
+ASFLAGS ?= -xassembler-with-cpp
+
CFLAGS := $(CFLAGS) $(OPTCFLAGS) -DBUILD_TARGET_$(TARGET) -DBUILD_HOST_$(HOST)
+ASFLAGS := $(ASFLAGS) $(CFLAGS)
LDFLAGS := $(LDFLAGS) $(OPTLDFLAGS)
# Extensions for coverage target