[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 390/437: Correct make check for systems without gcc.
From: |
Andy Wingo |
Subject: |
[Guile-commits] 390/437: Correct make check for systems without gcc. |
Date: |
Mon, 2 Jul 2018 05:15:01 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit 97f69a9c9c8c40977f7f59c94cacfb0c303ca44a
Author: pcpa <address@hidden>
Date: Sun May 24 13:50:58 2015 -0300
Correct make check for systems without gcc.
* check/lightning.c: Clearly run check if clang is the system
compiler.
---
ChangeLog | 5 +++++
check/lightning.c | 7 ++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index a17a444..a39ed03 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-24 Paulo Andrade <address@hidden>
+
+ * check/lightning.c: Clearly run check if clang is the system
+ compiler.
+
2015-06-20 Paulo Andrade <address@hidden>
* lib/jit_sparc-cpu.c, lib/jit_sparc-fpu.c, lib/jit_sparc.c:
diff --git a/check/lightning.c b/check/lightning.c
index 02d418a..2422fff 100644
--- a/check/lightning.c
+++ b/check/lightning.c
@@ -4170,7 +4170,12 @@ main(int argc, char *argv[])
strncpy(parser.name, endptr, sizeof(parser.name));
parser.name[sizeof(parser.name) - 1] = '\0';
}
- opt_short = snprintf(cmdline, sizeof(cmdline), "gcc -E -x c %s",
argv[opt_index]);
+#if __clang__
+# define cc "clang"
+#else
+# define cc "gcc"
+#endif
+ opt_short = snprintf(cmdline, sizeof(cmdline), cc " -E -x c %s",
argv[opt_index]);
for (++opt_index; opt_index < argc; opt_index++) {
if (argv[opt_index][0] == '-')
opt_short += snprintf(cmdline + opt_short,
- [Guile-commits] 268/437: Sync after regenerating version.texi., (continued)
- [Guile-commits] 268/437: Sync after regenerating version.texi., Andy Wingo, 2018/07/02
- [Guile-commits] 277/437: x86_64: Correct wrong inline assembly in jit_get_cpu, Andy Wingo, 2018/07/02
- [Guile-commits] 360/437: Correct wrong check in simplify_stxi., Andy Wingo, 2018/07/02
- [Guile-commits] 389/437: alpha: Save correct offset if loading a vararg double., Andy Wingo, 2018/07/02
- [Guile-commits] 380/437: ppc: Add initial jit_va_ calls to ppc, Andy Wingo, 2018/07/02
- [Guile-commits] 239/437: Avoid possible problem if built with gcc 4.8 or newer., Andy Wingo, 2018/07/02
- [Guile-commits] 347/437: S390: Add support for 32 bit., Andy Wingo, 2018/07/02
- [Guile-commits] 428/437: Further lightning integration work, Andy Wingo, 2018/07/02
- [Guile-commits] 420/437: Strip "get-jit-size" feature from lightning., Andy Wingo, 2018/07/02
- [Guile-commits] 434/437: Remove unused AM_CONDITIONAL statements from lightning configure, Andy Wingo, 2018/07/02
- [Guile-commits] 390/437: Correct make check for systems without gcc.,
Andy Wingo <=
- [Guile-commits] 388/437: sparc: Add initial jit_va_ calls to sparc, Andy Wingo, 2018/07/02
- [Guile-commits] 319/437: Properly handle jit_tramp and function descriptors, Andy Wingo, 2018/07/02
- [Guile-commits] 414/437: Always set t12 to address of called function, Andy Wingo, 2018/07/02
- [Guile-commits] 289/437: Remove the global but not advertised jit_progname variable, Andy Wingo, 2018/07/02
- [Guile-commits] 334/437: ARM: Correct several inconsistencies with ldrd and strd, Andy Wingo, 2018/07/02
- [Guile-commits] 210/437: Correct all ldst test cases., Andy Wingo, 2018/07/02
- [Guile-commits] 252/437: GNU lightning 2.0.1 release, Andy Wingo, 2018/07/02
- [Guile-commits] 327/437: Force creation of the m4 directory on a clean checkout, Andy Wingo, 2018/07/02
- [Guile-commits] 314/437: Add back files missed when reapplying patches, Andy Wingo, 2018/07/02
- [Guile-commits] 354/437: Implement the jit_arg_register_p predicate., Andy Wingo, 2018/07/02