SHA256
1
0
forked from pool/emacs

Accepting request 949459 from home:Andreas_Schwab:Factory

- Remove unneeded pure size adjustments

OBS-URL: https://build.opensuse.org/request/show/949459
OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=319
This commit is contained in:
Dr. Werner Fink 2022-01-27 14:19:49 +00:00 committed by Git OBS Bridge
parent cc7d7c1d57
commit fcf9c6afc5
2 changed files with 8 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 27 12:59:04 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Remove unneeded pure size adjustments
-------------------------------------------------------------------
Thu Jan 13 07:25:28 UTC 2022 - Dr. Werner Fink <werner@suse.de>

View File

@ -393,12 +393,6 @@ LDFLAGS=
%ifarch ia64
CFLAGS=$(echo "${CFLAGS}"|sed -r 's/-O[0-9]?/-O1/g')
%endif
SMALL="-DSYSTEM_PURESIZE_EXTRA=25000 \
-DSITELOAD_PURESIZE_EXTRA=10000 \
"
LARGE="-DSYSTEM_PURESIZE_EXTRA=55000 \
-DSITELOAD_PURESIZE_EXTRA=10000 \
"
LANG=POSIX; LC_CTYPE=en_US.UTF-8
export CC CFLAGS LANG LC_CTYPE LDFLAGS
PREFIX="--prefix=%{_prefix} \
@ -488,7 +482,7 @@ fi
ac_cv_lib_gif_EGifPutExtensionLast=yes
export ac_cv_lib_gif_EGifPutExtensionLast
CFLAGS="$CFLAGS $SMALL -DPDMP_BASE='\"emacs-nox\"'" ./configure ${COMP} ${PREFIX} ${NOX11} ${SYS} --with-dumping=pdumper
CFLAGS="$CFLAGS -DPDMP_BASE='\"emacs-nox\"'" ./configure ${COMP} ${PREFIX} ${NOX11} ${SYS} --with-dumping=pdumper
%make_build bootstrap
make -C lisp/ updates compile V=1
for i in $(find site-lisp/ -name '*.el'); do
@ -498,13 +492,13 @@ cp src/emacs emacs-nox
cp src/emacs.pdmp emacs-nox.pdmp
make distclean
#
CFLAGS="$CFLAGS $LARGE -DPDMP_BASE='\"emacs-gtk\"'" ./configure ${COMP} ${PREFIX} ${GTK} ${SYS} --with-dumping=pdumper
CFLAGS="$CFLAGS -DPDMP_BASE='\"emacs-gtk\"'" ./configure ${COMP} ${PREFIX} ${GTK} ${SYS} --with-dumping=pdumper
%make_build
cp src/emacs emacs-gtk
cp src/emacs.pdmp emacs-gtk.pdmp
make distclean
#
CFLAGS="$CFLAGS $LARGE -DPDMP_BASE='\"emacs-x11\"'" ./configure ${COMP} ${PREFIX} ${X11} ${SYS} --with-dumping=pdumper
CFLAGS="$CFLAGS -DPDMP_BASE='\"emacs-x11\"'" ./configure ${COMP} ${PREFIX} ${X11} ${SYS} --with-dumping=pdumper
%make_build
cp src/emacs emacs-x11
cp src/emacs.pdmp emacs-x11.pdmp