Kevin Brammer wrote:
Where is it again that you fix the scorefile-test problem when
compiling?  My CFLAGS/CXXFLAGS are empty.  Running gcc 3.4.6, still
sucks up all system resources.

I have a patch that Per Hedeland wrote and sent me when I asked what his workaround was.

I don't know if this server allows attachments so I'll include it in the body. Watch line wrap.

--- pan/data/Makefile.ORIG      Tue Aug  8 23:46:41 2006
+++ pan/data/Makefile   Tue Aug  8 23:44:24 2006
@@ -335,6 +335,11 @@
 include ./$(DEPDIR)/xref-test.Po
 include ./$(DEPDIR)/xref.Po

+scorefile-test.o: scorefile-test.cc
+       compile=`echo $(CXXCOMPILE) | sed 's/-O2//'`; \
+       if $$compile -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+
 .cc.o:
        if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi

Rinaldi
--
Dawn, n.:
        The time when men of reason go to bed.
                -- Ambrose Bierce, "The Devil's Dictionary"


_______________________________________________
Pan-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pan-users

Reply via email to