|
|
@@ -60,8 +60,8 @@ AutoReqProv: no
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
|
CXX="%{l_cxx}" \
|
|
|
- CFLAGS="%{l_cflags -O} %{l_cppflags}" \
|
|
|
- CXXFLAGS="%{l_cflags -O} -Wno-deprecated %{l_cppflags}" \
|
|
|
+ CFLAGS="%{l_cflags} %{l_cppflags}" \
|
|
|
+ CXXFLAGS="%{l_cflags} -Wno-deprecated %{l_cppflags}" \
|
|
|
CPPFLAGS="%{l_cppflags}" \
|
|
|
LDFLAGS="%{l_ldflags}" \
|
|
|
GLIB_CONFIG="%{l_prefix}/bin/glib-config" \
|
|
|
@@ -85,7 +85,6 @@ AutoReqProv: no
|
|
|
--enable-jsd \
|
|
|
--enable-crypto \
|
|
|
--enable-xinerama \
|
|
|
- --enable-strip \
|
|
|
--enable-chrome-format=jar \
|
|
|
--enable-static \
|
|
|
--disable-shared \
|
|
|
@@ -95,7 +94,6 @@ AutoReqProv: no
|
|
|
--disable-ldap \
|
|
|
--disable-freetype2 \
|
|
|
--disable-accessibility \
|
|
|
- --disable-tests \
|
|
|
--disable-debug \
|
|
|
--disable-dtd-debug \
|
|
|
--disable-pedantic \
|
|
|
@@ -106,14 +104,19 @@ AutoReqProv: no
|
|
|
--disable-optimize \
|
|
|
--disable-xterm-updates \
|
|
|
--with-pthreads
|
|
|
+ #FIXME# --enable-strip
|
|
|
+ #FIXME# --disable-tests
|
|
|
%{l_make} %{l_mflags}
|
|
|
( cd dist/bin
|
|
|
LD_LIBRARY_PATH=.; export LD_LIBRARY_PATH
|
|
|
MOZILLA_FIVE_HOME=.; export MOZILLA_FIVE_HOME
|
|
|
- ./regxpcom
|
|
|
- ./regchrome
|
|
|
+ ./regxpcom || true
|
|
|
+ ./regchrome || true
|
|
|
touch chrome/user-skins.rdf chrome/user-locales.rdf
|
|
|
- find . -type d -depth -print | xargs rmdir >/dev/null 2>&1 || true
|
|
|
+ #FIXME# find . -type d -depth -print | xargs rmdir >/dev/null 2>&1 || true
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e "s;`pwd`;%{l_prefix}/lib/mozilla;" \
|
|
|
+ components/xpti.dat components/compreg.dat
|
|
|
)
|
|
|
|
|
|
%install
|