rpm.macros, filterout...
Paweł Sikora
pluto at agmk.net
Sun Aug 6 20:42:13 CEST 2006
# %rpmcflags = %optflags - %filterout_c - %filterout_ld
# %rpmcxxflags = %rpmcflags - %filterout_cxx
# %rpmldflags = %optldflags - %filterout_ld
to jest byzydura.
jeśli chcę wyrzucić np. -Werror z CFLAGS i nadal mieć w CXXFLAGS,
to jak mam to zrobić?
sugeruję zrobić tak:
# %rpmcflags = %optflags - %filterout - %filterout_c - %filterout_ld
# %rpmcxxflags = %optflags - %filterout - %filterout_cxx - %filterout_ld
# %rpmldflags = %optldflags - %filterout_ld
ponadto, w użyciu z linkerem są dwie zmienne: LDFLAGS oraz LDXXFLAGS
w zależności czy mówimy o C, bądź C++, więc warto rozważyć rozbudowanie
%configure oraz mechanizmu `filterout`.
More information about the pld-devel-pl
mailing list