summaryrefslogtreecommitdiff
path: root/lisp/Makefile.in
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-03-16 01:57:39 -0400
committerGlenn Morris <rgm@gnu.org>2018-03-16 01:57:39 -0400
commit419514a84a60a1dc36323ae55986c53f59c12262 (patch)
treecc810598e340af1d85e1724e3b7729ad73ec4acd /lisp/Makefile.in
parentb1d7e58520dc42a4eda902aa934a250fda6a04ca (diff)
downloademacs-419514a84a60a1dc36323ae55986c53f59c12262.tar.gz
Suppress warnings about obsolete generics (bug#25556)
* lisp/Makefile.in (MAIN_FIRST): New variable. (compile-main): Put some files at the head of the queue.
Diffstat (limited to 'lisp/Makefile.in')
-rw-r--r--lisp/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index d4709bd79d4..19b01802268 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -101,6 +101,10 @@ COMPILE_FIRST = \
$(lisp)/emacs-lisp/bytecomp.elc \
$(lisp)/emacs-lisp/autoload.elc
+# Files to compile early in compile-main. Works around bug#25556.
+MAIN_FIRST = ./emacs-lisp/eieio.el ./emacs-lisp/eieio-base.el \
+ ./cedet/semantic/db.el
+
# Prevent any settings in the user environment causing problems.
unexport EMACSDATA EMACSDOC EMACSPATH
@@ -319,7 +323,7 @@ compile-targets: $(TARGETS)
compile-main: gen-lisp compile-clean
@(cd $(lisp) && \
els=`echo "${SUBDIRS_REL} " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
- for el in $$els; do \
+ for el in ${MAIN_FIRST} $$els; do \
test -f $$el || continue; \
test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \
echo "$${el}c"; \