about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Dowad <alexinbeijing@gmail.com>2015-10-02 13:32:32 +0200
committerRich Felker <dalias@aerifal.cx>2015-10-08 21:03:10 +0000
commit0650a05947c9f67cedff693d2e1c2f61a8e6c0d3 (patch)
treeb586b689f6edd5538caf8801dca87b64a1ca84d1 /Makefile
parent2d51c4ad57d5cbb083b5bce94ff692490c10ee2d (diff)
downloadmusl-0650a05947c9f67cedff693d2e1c2f61a8e6c0d3.tar.gz
musl-0650a05947c9f67cedff693d2e1c2f61a8e6c0d3.tar.xz
musl-0650a05947c9f67cedff693d2e1c2f61a8e6c0d3.zip
factor common awk functions for CFI generation scripts into new file
There is a lot which could be common between i386 and x86_64, but none
of it will be useful for any other arch. These should be useful for
all archs, however.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5a6a43b9..844a0176 100644
--- a/Makefile
+++ b/Makefile
@@ -122,7 +122,7 @@ $(foreach s,$(wildcard src/*/$(ARCH)*/*.s),$(eval $(call mkasmdep,$(s))))
 # Choose invocation of assembler to be used
 # $(1) is input file, $(2) is output file, $(3) is assembler flags
 ifeq ($(ADD_CFI),yes)
-	AS_CMD = LC_ALL=C awk -f tools/add-cfi.$(ARCH).awk $< | $(CC) -x assembler -c -o $@ -
+	AS_CMD = LC_ALL=C awk -f tools/add-cfi.common.awk -f tools/add-cfi.$(ARCH).awk $< | $(CC) -x assembler -c -o $@ -
 else
 	AS_CMD = $(CC) -c -o $@ $<
 endif