rpm.macros, filterout...
    Paweł Sikora 
    pluto w agmk.net
       
    Nie,  6 Sie 2006, 20:42:13 CEST
    
    
  
# %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`.
    
    
Więcej informacji o liście dyskusyjnej pld-devel-pl