jim 02/04/23 12:01:35
Modified: atomic/solaris_sparc Makefile.in
Log:
Hopefully close the build problems with atomic on Solaris systems
with GNUas. It looks like 'gcc -E' is ignoring the apr_atomic_sparc.s
file (due to the suffix... a apr_atomic_sparc.c file would be read
in fine) causing apr_atomic_sparc.S to be empty for GNUas users.
Soooooo we force it to read from stdin. For non-GNUas users, we
work as normal, though a but weirdly (instead of cat ... > it's
cat - < ... > )
Reviewed by: Aaron Bannert
Revision Changes Path
1.9 +1 -1 apr/atomic/solaris_sparc/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/apr/atomic/solaris_sparc/Makefile.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Makefile.in 22 Apr 2002 01:24:48 -0000 1.8
+++ Makefile.in 23 Apr 2002 19:01:35 -0000 1.9
@@ -12,7 +12,7 @@
@INCLUDE_RULES@
apr_atomic_sparc.lo: $(srcdir)/apr_atomic_sparc.s
- $(ASCPP) $(ASCPPFLAGS) $(srcdir)/$*.s > $*.S
+ $(ASCPP) $(ASCPPFLAGS) - < $(srcdir)/$*.s > $*.S
$(AS) $(ASFLAGS) -o $@ $*.S