mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Reduce include path pollution
* configure.ac (MPS_CFLAGS): No longer add -I../mps/code for all files. * src/igc.c: Instead, add ../mps/code only here.
This commit is contained in:
parent
de6345ed51
commit
ceb1195962
2 changed files with 7 additions and 7 deletions
|
|
@ -5570,7 +5570,7 @@ if test "${with_mps}" != "no"; then
|
|||
fi
|
||||
# Force -fno-omit-frame-pointer to avoid register scanning bug:
|
||||
# https://github.com/Ravenbrook/mps/pull/38
|
||||
MPS_CFLAGS="-fno-omit-frame-pointer -I\$(top_srcdir)/mps/code"
|
||||
MPS_CFLAGS="-fno-omit-frame-pointer"
|
||||
fi
|
||||
|
||||
# FIXME: update for in-tree MPS
|
||||
|
|
|
|||
12
src/igc.c
12
src/igc.c
|
|
@ -31,12 +31,12 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
|
|||
# pragma clang attribute push(__attribute__((warn_unused_result)), \
|
||||
apply_to = hasType(functionType))
|
||||
#endif
|
||||
#include <mps.h>
|
||||
#include <mpsavm.h>
|
||||
#include <mpscamc.h>
|
||||
#include "mpscams.h"
|
||||
#include <mpscawl.h>
|
||||
#include <mpslib.h>
|
||||
#include "../mps/code/mps.h"
|
||||
#include "../mps/code/mpsavm.h"
|
||||
#include "../mps/code/mpscamc.h"
|
||||
#include "../mps/code/mpscams.h"
|
||||
#include "../mps/code/mpscawl.h"
|
||||
#include "../mps/code/mpslib.h"
|
||||
#ifdef __clang__
|
||||
#pragma clang attribute pop
|
||||
#pragma clang diagnostic pop
|
||||
|
|
|
|||
Loading…
Reference in a new issue