[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-buildservice
Subject:    [opensuse-buildservice] Re: Macro arch dependant
From:       Andreas Schwab <schwab () linux-m68k ! org>
Date:       2013-09-14 17:28:31
Message-ID: 87zjrf5n40.fsf () igel ! home
[Download RAW message or body]

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:

%ifarch foo
Macros:
%foo 1
:Macros
%endif

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic