]> git.eshelyaron.com Git - emacs.git/commitdiff
Send useless output in flymake-tests to /dev/null (bug#70716)
authorMattias EngdegÄrd <mattiase@acm.org>
Wed, 28 Aug 2024 17:24:55 +0000 (19:24 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:40 +0000 (09:51 +0200)
* test/lisp/progmodes/flymake-resources/Makefile (check-syntax):
Avoid producing a useless file named `-.o` in the source tree.

(cherry picked from commit 1ae861ad7e5b42f9ff4a3d51316ec6bba379670b)

test/lisp/progmodes/flymake-resources/Makefile

index 05399ba388bfb78ed8248bd3caa18ae767f93576..83ab0d2a1b5fff7d0d424d65534241c3e5dded22 100644 (file)
@@ -8,6 +8,6 @@ CC_OPTS = -Wall -Wextra
 ## 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
+       GCC_COLORS= gcc $(CC_OPTS) -o /dev/null -S ${CHK_SOURCES} || true
 
 # eof