diff options
author | Roland McGrath <roland@gnu.org> | 2003-03-10 09:10:43 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-03-10 09:10:43 +0000 |
commit | 073e82bfaeeb5624b2c85012a5582a1308ddae05 (patch) | |
tree | aba52ca1e4971cceca20f86d36cc2f888b936ffb /Makerules | |
parent | 9921a880001f11280c8e165310ce8f65eecd5a42 (diff) | |
download | glibc-073e82bfaeeb5624b2c85012a5582a1308ddae05.tar.gz |
2003-03-10 Roland McGrath <roland@redhat.com>
* configure.in: New check for -g on .S files.
* configure: Regenerated.
* config.make.in (have-cpp-asm-debuginfo): New variable.
* config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef.
* Makeconfig (ASFLAGS): New variable, if undefined and
$(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS).
* Makerules (compile.S, COMPILE.S): Use $(ASFLAGS).
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -396,8 +396,10 @@ 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) $(S-CPPFLAGS) $(ASFLAGS-$(suffix $@)) -COMPILE.S = $(CC) -c $(CPPFLAGS) $(S-CPPFLAGS) $(ASFLAGS-$(suffix $@)) +compile.S = $(CC) $< -c $(CPPFLAGS) $(S-CPPFLAGS) \ + $(ASFLAGS) $(ASFLAGS-$(suffix $@)) +COMPILE.S = $(CC) -c $(CPPFLAGS) $(S-CPPFLAGS) \ + $(ASFLAGS) $(ASFLAGS-$(suffix $@)) COMPILE.s = $(filter-out -pipe,$(CC)) -c $(ASFLAGS) # If we want to generate MD5 checksums for the sources do this now. |