1
0
Wolfgang Rosenauer 2023-08-11 14:23:29 +00:00 committed by Git OBS Bridge
parent 3a86056012
commit 5ef499faa4

View File

@ -380,9 +380,6 @@ export CXX=g++-12
%if 0%{?clang_build} == 0
export CC=gcc
export CXX=g++
%if 0%{?gcc_version:%{gcc_version}} >= 12
#export CXXFLAGS="\$CXXFLAGS -fimplicit-constexpr"
%endif
%endif
%endif
%ifarch %arm %ix86
@ -393,9 +390,6 @@ export GC_SECTIONS_BREAKS_DEBUG_RANGES=yes
%endif
export LDFLAGS="\$LDFLAGS -fPIC -Wl,-z,relro,-z,now"
%ifarch ppc64 ppc64le
%if 0%{?clang_build} == 0
#export CFLAGS="\$CFLAGS -mminimal-toc"
%endif
%endif
%ifarch %ix86
# Not enough memory on 32-bit systems, remove debug info.
@ -415,11 +409,7 @@ source ./.obsenv.sh
cat << EOF > $MOZCONFIG
mk_add_options MOZILLA_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1
#%%ifarch %%ix86
#mk_add_options MOZ_MAKE_FLAGS=-j1
#%%else
mk_add_options MOZ_MAKE_FLAGS=%{?jobs:-j%jobs}
#%%endif
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj
. \$topsrcdir/browser/config/mozconfig
ac_add_options --disable-bootstrap