Am Donnerstag, 20. August 2009 22:56:46 schrieb Scott Cantor:
Related to my question about getting -fPIC to work on Red Hat 5, I'm not having any success using osc meta prjconf to create a custom set of Optflag settings to use for non-local builds. I guess I interpreted the documentation as implying that that was the whole point of creating a custom build config.
http://en.opensuse.org/Build_Service/prjconf
Is there some kind of delay involved? An additional step to enable them?
no
No way to do it at all?
What I specifically did was check out my project, then run osc meta prjconf <project> -e and put just a set of Optflag lines into the file copied from the settings in the osc default config I found. If the build service was using these settings to begin with, I'd be ok, but it's using stale values.
Anyway, then I triggered a rebuild of an affected package, but it's still using the same Optflags as before.
Do you use $RPM_OPT_FLAGS at all in your package/spec file ? All what happens is that these flags get added there. But if you do not have something like export CFLAGS="$RPM_OPT_FLAGS" before running configure/make it will have no effect. You can see also in the build log when executing the export command which flags are inside. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org