22 Apr
2010
22 Apr
'10
14:39
* Dave Plater (davejplater@gmail.com) [20100422 15:43]:
Have you tried "export CCFLAGS="RPM_OPT_FLAGS" in the spec file, it works with most scons builds but not always.
Doesn't work with this package. For now I'm appending %optflags verbatim, i.e. : @@ -169,6 +169,17 @@ if gcc: '-mfpmath=sse', '-msse', ]) + env.Append(CCFLAGS=[ + '-Wall', + '-fmessage-length=0', + '-O2', + '-D_FORTIFY_SOURCE=2', + '-fstack-protector', + '-funwind-tables', + '-fasynchronous-unwind-tables', + '-g', + '-pipe', + ]) if cl: env.Append(CCFLAGS=[ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org