
----- Andreas Schwab <schwab@linux-m68k.org> a écrit :
guillaume.gardet@free.fr writes:
is it possible to add a macro which is arch dependant?
I would like to add a %ifarch inside macro list, but it does not seem to work. What is the right way to define a macro, only for one arch?
Do you mean in the prjconf? Use something like this:
Yes, in prjconf
%ifarch foo Macros: %foo 1 :Macros %endif
That is what I done but I have other Macros for all arches with only 'Macros:' but it seems that it breaks other macros. :( Guillaume
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org