This commit is contained in:
parent
3a86056012
commit
5ef499faa4
@ -380,9 +380,6 @@ export CXX=g++-12
|
|||||||
%if 0%{?clang_build} == 0
|
%if 0%{?clang_build} == 0
|
||||||
export CC=gcc
|
export CC=gcc
|
||||||
export CXX=g++
|
export CXX=g++
|
||||||
%if 0%{?gcc_version:%{gcc_version}} >= 12
|
|
||||||
#export CXXFLAGS="\$CXXFLAGS -fimplicit-constexpr"
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%ifarch %arm %ix86
|
%ifarch %arm %ix86
|
||||||
@ -393,9 +390,6 @@ export GC_SECTIONS_BREAKS_DEBUG_RANGES=yes
|
|||||||
%endif
|
%endif
|
||||||
export LDFLAGS="\$LDFLAGS -fPIC -Wl,-z,relro,-z,now"
|
export LDFLAGS="\$LDFLAGS -fPIC -Wl,-z,relro,-z,now"
|
||||||
%ifarch ppc64 ppc64le
|
%ifarch ppc64 ppc64le
|
||||||
%if 0%{?clang_build} == 0
|
|
||||||
#export CFLAGS="\$CFLAGS -mminimal-toc"
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
%ifarch %ix86
|
%ifarch %ix86
|
||||||
# Not enough memory on 32-bit systems, remove debug info.
|
# Not enough memory on 32-bit systems, remove debug info.
|
||||||
@ -415,11 +409,7 @@ source ./.obsenv.sh
|
|||||||
cat << EOF > $MOZCONFIG
|
cat << EOF > $MOZCONFIG
|
||||||
mk_add_options MOZILLA_OFFICIAL=1
|
mk_add_options MOZILLA_OFFICIAL=1
|
||||||
mk_add_options BUILD_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}
|
mk_add_options MOZ_MAKE_FLAGS=%{?jobs:-j%jobs}
|
||||||
#%%endif
|
|
||||||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj
|
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj
|
||||||
. \$topsrcdir/browser/config/mozconfig
|
. \$topsrcdir/browser/config/mozconfig
|
||||||
ac_add_options --disable-bootstrap
|
ac_add_options --disable-bootstrap
|
||||||
|
Loading…
Reference in New Issue
Block a user