.
OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=423
This commit is contained in:
parent
03df593cb0
commit
a14ba244a0
17
emacs.spec
17
emacs.spec
@ -397,18 +397,6 @@ popd
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
umask 022
|
umask 022
|
||||||
%ifarch %ix86 %arm
|
|
||||||
mkdir bin
|
|
||||||
ln -sf /usr/bin/gcc-13 bin/gcc
|
|
||||||
ln -sf /usr/bin/gcc-ar-13 bin/gcc-ar
|
|
||||||
ln -sf /usr/bin/gcc-nm-13 bin/gcc-nm
|
|
||||||
ln -sf /usr/bin/gcc-ranlib-13 bin/gcc-ranlib
|
|
||||||
ln -sf /usr/bin/gcov-13 bin/gcov
|
|
||||||
ln -sf /usr/bin/gcov-dump-13 bin/gcov-dump
|
|
||||||
ln -sf /usr/bin/gcov-tool-13 bin/gcov-tool
|
|
||||||
ln -sf /usr/bin/lto-dump-13 bin/lto-dump
|
|
||||||
PATH=${PWD}/bin:${PATH}
|
|
||||||
%endif
|
|
||||||
%if %{without autoconf}
|
%if %{without autoconf}
|
||||||
# We don't want to run autoconf
|
# We don't want to run autoconf
|
||||||
if test configure.ac -nt aclocal.m4 -o m4/gnulib-comp.m4 -nt aclocal.m4 ; then
|
if test configure.ac -nt aclocal.m4 -o m4/gnulib-comp.m4 -nt aclocal.m4 ; then
|
||||||
@ -433,6 +421,9 @@ if test -s autogen.sh ; then
|
|||||||
fi
|
fi
|
||||||
%else
|
%else
|
||||||
autoreconf -fiv -I $PWD -I $PWD/m4
|
autoreconf -fiv -I $PWD -I $PWD/m4
|
||||||
|
%endif
|
||||||
|
%ifarch %ix86 %arm
|
||||||
|
export CC=gcc-13
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
cflags ()
|
cflags ()
|
||||||
@ -645,7 +636,7 @@ popd
|
|||||||
%install
|
%install
|
||||||
umask 022
|
umask 022
|
||||||
%ifarch %ix86 %arm
|
%ifarch %ix86 %arm
|
||||||
PATH=${PWD}/bin:${PATH}
|
export CC=gcc-13
|
||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
PATH=/sbin:$PATH
|
PATH=/sbin:$PATH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user