From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] glibc: Send test output to /dev/null.
Date: Thu, 6 Jul 2023 20:57:31 +0200 [thread overview]
Message-ID: <20230706185731.970803-1-christian.melki@t2data.com> (raw)
The test was creating a file named "-.o" in my workdir.
We don't want the output. Be sure to send it to /dev/null
Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
rules/glibc.make | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rules/glibc.make b/rules/glibc.make
index a550f4b92..d5e0734cb 100644
--- a/rules/glibc.make
+++ b/rules/glibc.make
@@ -31,7 +31,7 @@ $(STATEDIR)/glibc.prepare:
ifdef PTXCONF_GLIBC_Y2038
@echo Checking Y2038 support...
@echo 'static_assert(sizeof(time_t) == 8, "y2038");' | \
- $(CROSS_CC) -c -x c -include sys/types.h -include assert.h - &>/dev/null || \
+ $(CROSS_CC) -c -x c -include sys/types.h -include assert.h -o /dev/null - &>/dev/null || \
ptxd_bailout "PTXCONF_GLIBC_Y2038 is enabled but the toolchain has no Y2038 support!"
endif
@$(call touch)
--
2.34.1
reply other threads:[~2023-07-06 18:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230706185731.970803-1-christian.melki@t2data.com \
--to=christian.melki@t2data.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox