summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-12-09 23:39:10 +0000
committerUlrich Drepper <drepper@redhat.com>1997-12-09 23:39:10 +0000
commit83664d664bc8593008d7e8ee5fad3de8cf1c06ed (patch)
tree3c07b8b620d4dc66276f3db1424bd18bca920387
parent27d9ce970ef8e4f56fdbb48a0766abf497d411a5 (diff)
(compile.S, COMPILE.S, COMPILE.s): Use $(ASFLAGS-*) variable as well.
-rw-r--r--Makerules6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makerules b/Makerules
index f4333a2f03..b839a9a9a7 100644
--- a/Makerules
+++ b/Makerules
@@ -278,9 +278,9 @@ endif
# GCC can grok options after the file name, and it looks nicer that way.
compile.c = $(CC) $< -c $(CFLAGS) $(CPPFLAGS)
-compile.S = $(CC) $< -c $(CPPFLAGS) -DASSEMBLER $(asm-CPPFLAGS)
-COMPILE.S = $(CC) -c $(CPPFLAGS) -DASSEMBLER $(asm-CPPFLAGS)
-COMPILE.s = $(filter-out -pipe,$(CC)) -c $(ASFLAGS)
+compile.S = $(CC) $< -c $(CPPFLAGS) -DASSEMBLER $(asm-CPPFLAGS) $(ASFLAGS-$(suffix $@))
+COMPILE.S = $(CC) -c $(CPPFLAGS) -DASSEMBLER $(asm-CPPFLAGS) $(ASFLAGS-$(suffix $@))
+COMPILE.s = $(filter-out -pipe,$(CC)) -c $(ASFLAGS) $(ASFLAGS-$(suffix $@))
# We need this for the output to go in the right place. It will default to
# empty if make was configured to work with a cc that can't grok -c and -o