[Fedora-packaging] About optflags

Sergio Belkin sebelk at gmail.com
Sat Jan 22 21:21:26 UTC 2011


Hi,

I am trying to build a RPM,

I've found that optflags value is  -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4

Is it allowed to override "-O2" and use instead "-O3"? I see that
those flags overrides those CXXFLAGS from Makefile sources.

Thanks in advance!

-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified


More information about the packaging mailing list