* [ptxdist] [PATCH] glibc: Send test output to /dev/null.
@ 2023-07-06 18:57 Christian Melki
0 siblings, 0 replies; only message in thread
From: Christian Melki @ 2023-07-06 18:57 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-06 18:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-06 18:57 [ptxdist] [PATCH] glibc: Send test output to /dev/null Christian Melki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox