summaryrefslogtreecommitdiffstats
path: root/Makefile.d/cc_test.c
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2021-10-26 11:26:32 +0200
committerNico Huber <nico.h@gmx.de>2021-11-01 14:25:46 +0000
commit36fa20d1764acd5d84e35e66e8c7efb1e7c523ad (patch)
tree05b02b5b0a215aeb2df7cb3d4ea98f39c51ce051 /Makefile.d/cc_test.c
parentfac2bfe54caa162f5c6109c5f5c471471e81cc22 (diff)
downloadflashrom-36fa20d1764acd5d84e35e66e8c7efb1e7c523ad.tar.gz
flashrom-36fa20d1764acd5d84e35e66e8c7efb1e7c523ad.tar.bz2
flashrom-36fa20d1764acd5d84e35e66e8c7efb1e7c523ad.zip
Makefile: Revise C compiler check
Clean up the compiler target by outsourcing the test to an own variable. Change the print output and don't write to the build-details file. This is in preparation for further changes. Change-Id: I3d6f08ef030744c772b4ec0dc2c9e614fb90461d Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/58616 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'Makefile.d/cc_test.c')
-rw-r--r--Makefile.d/cc_test.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.d/cc_test.c b/Makefile.d/cc_test.c
new file mode 100644
index 000000000..0610964d8
--- /dev/null
+++ b/Makefile.d/cc_test.c
@@ -0,0 +1,6 @@
+int main(int argc, char **argv)
+{
+ (void)argc;
+ (void)argv;
+ return 0;
+}