~autumnull/haredo-devel

test/conf.do: Only use c99 if CC is undefined v2 APPLIED

Haelwenn (lanodan) Monnier: 1
 test/conf.do: Only use c99 if CC is undefined

 1 files changed, 2 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~autumnull/haredo-devel/patches/38701/mbox | git am -3
Learn more about email & git

[PATCH v2] test/conf.do: Only use c99 if CC is undefined Export this patch

Gentoo has host-architecture symlinks like c99 disabled for some Q&A tests
to make sure cross-compiling works.
---
 test/conf.do | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/conf.do b/test/conf.do
index a4b28a9..5c5ce7f 100644
--- a/test/conf.do
+++ b/test/conf.do
@@ -9,6 +9,6 @@ OBJ="$COMMOBJ $AMD64OBJ $ARM64OBJ $RV64OBJ"

SRCALL=$(echo $OBJ | sed 's/\.o/\.c/g')

CFLAGS="$CPPFLAGS -Wall -Wextra -std=c99 -g -Wpedantic"
CFLAGS="$CPPFLAGS -Wall -Wextra -g -Wpedantic"

CC=c99
CC="$CC -std=c99"
-- 
2.39.1
Thanks!

~Autumn