diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-28 11:29:46 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-28 11:29:46 +0000 |
commit | 9785ccc2e942ebd0951a2104dd249f88a59d3700 (patch) | |
tree | 4bfa1a0823e5c3a7a5b29d871d815a2789d39c31 /makefiles/Makefile.tools | |
parent | b461aced47881fb1be66bac3d4e0a14b59e2cf59 (diff) | |
download | buildsystem-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.tools | 5 |
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 |