190 |
export LIBDIR="%{_libdir}" |
export LIBDIR="%{_libdir}" |
191 |
export CFLAGS="$(echo %{optflags} | sed -e 's/-Wall//')" |
export CFLAGS="$(echo %{optflags} | sed -e 's/-Wall//')" |
192 |
export CXXFLAGS="$CFLAGS" |
export CXXFLAGS="$CFLAGS" |
|
%if %mdkversion >= 200900 |
|
193 |
export LDFLAGS="%ldflags -Wl,-rpath,%{mozappdir}" |
export LDFLAGS="%ldflags -Wl,-rpath,%{mozappdir}" |
|
%else |
|
|
# macro ldflags is nonexisting in older distro versions |
|
|
export LDFLAGS="$LDFLAGS -Wl,-rpath,%{mozappdir}" |
|
|
%endif |
|
194 |
|
|
195 |
# (tpg) don't use macro here |
# (tpg) don't use macro here |
196 |
# (fhimpe) Starting from Firefox 3.0.1, at least sqlite 3.5.9 is needed |
# (fhimpe) Starting from Firefox 3.0.1, at least sqlite 3.5.9 is needed |