Bug 14616

Summary: gcc/g++ specific flags in AM_CPPFLAGS / AM_CXXFLAGS
Product: exempi Reporter: Tim Mooney <Tim.Mooney>
Component: ProblemsAssignee: Hubert Figuiere <hub>
Status: RESOLVED WONTFIX QA Contact: Hubert Figuiere <hub>
Severity: minor    
Priority: medium Keywords: NEEDINFO
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Tim Mooney 2008-02-21 21:21:22 UTC
several of the Makefile.am's for exempi 1.99.9 have gcc/g++ specific flags hardcoded in AM_CPPFLAGS and/or AM_CXXFLAGS.  When building with a non-gcc compiler (Sun Workshop 12), I removed all of them to avoid complaints from the compiler.

Would you consider a patch to configure.ac that checks to see if $GCC or $GXX is being used and then substitutes them in as necessary, rather than hardcoding them?
I haven't written that patch yet, but I don't believe it would be difficult.  I'll give it a try if it's something you're interested in.
Comment 1 Hubert Figuiere 2008-02-23 20:26:35 UTC
which one do not work, and what are their replacement with Sun CC?
Comment 2 Hubert Figuiere 2008-04-04 19:50:46 UTC
reopen when you can provide the information requested

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.