emacs/test/lisp/progmodes/flymake-resources/Makefile
Glenn Morris 498b6cb0bf Ensure flymake tests use gcc rather than $CC
* test/lisp/progmodes/flymake-resources/Makefile: Force use of gcc.
This seems to be what the tests expect.  (Bug#33735)
2018-12-15 15:08:28 -08:00

13 lines
471 B
Makefile

# Makefile for flymake tests
CC_OPTS = -Wall -Wextra
## Recent gcc (e.g. 4.8.2 on RHEL7) can automatically colorize their output,
## which can confuse flymake. Set GCC_COLORS to disable that.
## This only seems to be an issue in batch mode, where you would not
## normally use flymake, so it seems like just avoiding the issue
## in this test is fine. Set flymake-log-level to 3 to investigate.
check-syntax:
GCC_COLORS= gcc $(CC_OPTS) ${CHK_SOURCES} || true
# eof