[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Questions about %define



Hello list,

I tried the following statement in my specfile:

  %define optflags %optflags" -g3"

And a lot of things that look like it. But it won't work. Since rpm
treads it recursively. Ok I could do it like:

  make CFLAGS="%opflags -g3" CXXFLAGS="%opflags -g3"

But that is not really what I want, for practical reasons.

Now that were at it can anybody confirm that "#" are ignored in the
define section. So a line with

  #%define optflags -g3

Is still read.



Cya, Han.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []