Bug 14616 - gcc/g++ specific flags in AM_CPPFLAGS / AM_CXXFLAGS
Summary: gcc/g++ specific flags in AM_CPPFLAGS / AM_CXXFLAGS
Alias: None
Product: exempi
Classification: Unclassified
Component: Problems (show other bugs)
Version: unspecified
Hardware: All All
: medium minor
Assignee: Hubert Figuiere
QA Contact: Hubert Figuiere
Keywords: NEEDINFO
Depends on:
Reported: 2008-02-21 21:21 UTC by Tim Mooney
Modified: 2008-04-04 19:50 UTC (History)
0 users

See Also:
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.