Verstaendnisfrage RPM SPEC
Alexander Skwar <[email protected]> Sun, 13 Jun 2004 14:57:25 +0200
| Newsgroups | gmane.linux.mandrake.expert.german |
|---|---|
| Message-ID | <[email protected]> |
Hallo.
In der RPM .spec des Mandrake gcc3.4 Paketes
(http://alexander.skwar.name/stuff/gcc3.4.spec) habe ich folgende Zeilen
41ff. gefunden, die ich nicht verstehe:
# Define if building a cross compiler
# FIXME: assume user does not define both cross and cross_bootstrap variables
%define build_cross 0
%define build_cross_bootstrap 0
%{expand: %{?cross: %%global build_cross 1}}
%{expand: %{?cross_bootstrap: %%global build_cross_bootstrap 1}}
Mir geht es um die letzten beiden Zeilen, die Zeilen mit %{expand am
Anfang.
Ganz einfache Frage: Was machen diese Zeilen? Wie bekomme ich build_cross
auf 1 ohne das .spec File zu verändern? Müsste ich dafür in
~/.rpmmacros z.B. folgendes einfügen?
%cross amd64
Danke,
Alexander Skwar
--
/* Host controller interrupts must not be running while calling this
* function or the penguins will get angry. */
2.2.16 /usr/src/linux/drivers/usb/ohci.c