From: Ulrich Drepper Date: Tue, 9 Dec 1997 23:39:10 +0000 (+0000) Subject: (compile.S, COMPILE.S, COMPILE.s): Use $(ASFLAGS-*) variable as well. X-Git-Tag: cvs/glibc-2_0_6pre3~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83664d664bc8593008d7e8ee5fad3de8cf1c06ed;p=thirdparty%2Fglibc.git (compile.S, COMPILE.S, COMPILE.s): Use $(ASFLAGS-*) variable as well. --- diff --git a/Makerules b/Makerules index f4333a2f039..b839a9a9a79 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