# %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`.
_______________________________________________
pld-devel-pl mailing list
pld-devel-pl@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym