From eb6ac89a155543d586eeb3e4ccbd4120504e02ce Mon Sep 17 00:00:00 2001 From: tromey Date: Mon, 19 Jul 1999 19:17:22 +0000 Subject: [PATCH] 1999-07-19 Alexandre Oliva * Makefile.am (.s.lo): Avoid `#line' directives. * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28175 138bc75d-0d04-0410-961f-82ee72b054a4 --- ChangeLog | 5 +++++ Makefile.am | 4 +++- Makefile.in | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c157b9e0..40db8f39 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-07-19 Alexandre Oliva + + * Makefile.am (.s.lo): Avoid `#line' directives. + * Makefile.in: Rebuilt. + 1999-07-19 Alexandre Oliva * Makefile.am (*-recursive, *-am, *-multi): Automake does not diff --git a/Makefile.am b/Makefile.am index 4f214f6d..cb383d55 100644 --- a/Makefile.am +++ b/Makefile.am @@ -55,7 +55,9 @@ $(all_objs) : config.h gc_priv.h gc_hdrs.h gc.h gc_mark.h ## FIXME: we shouldn't have to do this, but automake forces us to. .s.lo: - $(LTCOMPILE) -x assembler-with-cpp -c $< +## We use -Wp,-P to strip #line directives. Irix `as' chokes on +## these. + $(LTCOMPILE) -Wp,-P -x assembler-with-cpp -c $< ## We have our own definition of LTCOMPILE because we want to use our ## CFLAGS, not those passed in from the top level make. diff --git a/Makefile.in b/Makefile.in index 83ede9c4..70ecbc45 100644 --- a/Makefile.in +++ b/Makefile.in @@ -487,7 +487,7 @@ maintainer-clean-generic clean mostlyclean distclean maintainer-clean $(all_objs) : config.h gc_priv.h gc_hdrs.h gc.h gc_mark.h .s.lo: - $(LTCOMPILE) -x assembler-with-cpp -c $< + $(LTCOMPILE) -Wp,-P -x assembler-with-cpp -c $< # Multilib support. .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \ -- 2.40.0