Removing -fexceptions from $RPM_OPT_FLAGS

Tom Lane tgl at redhat.com
Thu Jan 20 01:20:57 UTC 2011


fche at redhat.com (Frank Ch. Eigler) writes:
> Tom Lane <tgl at redhat.com> writes:
>> Hmm ... so what should I do with mysql?  Since approximately forever,
>> upstream has recommended using -fno-exceptions (and also
>> -felide-constructors -fno-rtti) in CXXFLAGS.  [...]
>> ...
>> Seems like I should either drop the nonstandard CXXFLAGS, or hack CFLAGS
>> to remove -fexceptions.

> I suggest the former, especially without better rationale.

Well, it passes its regression tests without these flags; so as soon as
the systemtap dust settles, I'll run a new rawhide build.

			regards, tom lane


More information about the devel mailing list