Mailinglist Archive: opensuse-buildservice (233 mails)

< Previous Next >
[opensuse-buildservice] appending options to CFLAGS per project
  • From: Cristian Rodríguez <crrodriguez@xxxxxxx>
  • Date: Wed, 17 Dec 2008 22:18:05 -0300
  • Message-id: <4949A4CD.1020803@xxxxxxx>

Hi:

What the correct syntax to append extra options to %{optflags} per
project ?

I tried the following

osc meta -e prjconf <project>

Optflags: * -Wfoobar
results in CFLAGS set to

"-fmessage-length=0 -Wfoobar -g -fstack-protector" not what I want, I
just want to append a new option, not removing a part of the old ones..

Optflags: * %{optflags} -Wfoobar

results in recursion error ;-)

I'm using build-2008.12.10.r5853-22.2

--
"We have art in order not to die of the truth" - Friedrich Nietzsche

Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/


< Previous Next >
This Thread
  • No further messages