On Thu, 2008-05-29 at 10:07 -0700, Michael Schuster wrote:
> Hi,
> 
> I'm seeing a command line like this in /tmp/FOSScapseo.log (as usual, doing 
> Sparc):
> 
> pkgbuild: /opt/SUNWspro/bin/CC -ansi -pedantic -Wall -Wno-long-long .... 
> -Qoption ccfe -features=gcc ...
> 
> as far as I know and can see from the man-page, -ansi, -pedantic etc. are 
> not valid options recognised by SUNSpro compilers, but are only valid with 
> gcc. The warnings following this invocation proves it:
> 
> pkgbuild: CC: Warning: Option -ansi passed to ld, if ld is invoked, ignored 
> otherwise
> pkgbuild: CC: Warning: Option -pedantic passed to ld, if ld is invoked, 
> ignored otherwise
> pkgbuild: CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored 
> otherwise
> pkgbuild: CC: Warning: Option -Wno-long-long passed to ld, if ld is 
> invoked, ignored otherwise
> 
> ...
> 
> and then ld fails.
> 
> I'll try 'svn up' on the offchance that I missed something, but I'd 
> appreciate thoughts.
> 
> Michael

[reusing this thread]

I had the same problem and this fixed it (note this is the .am,
not .in):

Index: CAPSEO/0.3.0-158/tools/Makefile.am
===================================================================
--- CAPSEO/0.3.0-158/tools/Makefile.am  (revision 2091)
+++ CAPSEO/0.3.0-158/tools/Makefile.am  (working copy)
@@ -1,6 +1,6 @@
 INCLUDES = -I$(top_srcdir)/src
 
-ANSI_CXXFLAGS = -ansi -pedantic -Wall -Wno-long-long
-Wno-unknown-pragmas
+ANSI_CXXFLAGS =
 AM_CXXFLAGS = $(ANSI_CXXFLAGS) $(CAPTURY_CFLAGS)
-DVERSION="\"@capseo_vers...@\"" -dtheo...@theora@
 
 bin_PROGRAMS = cpsinfo cpsplay cpsrecode



Reply via email to