]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(compile.S, COMPILE.S, COMPILE.s): Use $(ASFLAGS-*) variable as well.
authorUlrich Drepper <drepper@redhat.com>
Tue, 9 Dec 1997 23:39:10 +0000 (23:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 9 Dec 1997 23:39:10 +0000 (23:39 +0000)
Makerules

index f4333a2f03910e4e7ffe51749a322e38f0954c3d..b839a9a9a799338ff6ef99683de35c5869e08916 100644 (file)
--- 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