Getting more in tune with mdk spec files, I'm looking for the easiest
and yet clean way to remove a flag from all RPM_OPT_FLAGS (CFLAGS,
CXXFLAGS, FFLAGS, etc...) within the spec file...
Example, knocking out -fno-exceptions from the optflags, so that certain
apps will compile (e.g, openjade).
This also provides a fail safe, for those who have -fno-exceptions as
part of their optflags.

I'm sure the answer to this is quite easy, but I don't feel like
searching through spec files for a good example : )

Cheers ; ) 

Sama Sama!


-- 
Bryan Paxton
Public PGP key: http://www.deadhorse.net/bpaxton.gpg

"Heedfulness: the path to the Deathless.
Heedlessness: the path to death.
The heedful do not die.
The heedless are as if already dead." -- Dhp. 21-24

Reply via email to