aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-01-26 19:01:50 +0100
committerRobin Jarry <robin@jarry.cc>2023-01-26 22:01:26 +0100
commitc3db57a194a5eba2a79c01ce4e10bd8ad33af491 (patch)
tree4c4f436a1903d2b61d4719bb5c9760805659f9d9
parent1367fd4246716e3f693f8a1d70630c438489ce03 (diff)
downloadaerc-c3db57a194a5eba2a79c01ce4e10bd8ad33af491.tar.gz
ci: fix obscure build error
Fix the following obscure build error: gcc -O2 -g -Wall -Wextra -Werror -Wformat-security -Wstack-protector -fstack-protector-strong -fanalyzer gcc: fatal error: no input files The issue is that CFLAGS contains newline characters '\n' because of the yaml > continuation. I had misinterpreted the spec hoping that the final newline will also be stripped which is not. Put all CFLAGS on a single line. Link: https://yaml.org/spec/1.0/#id2567537 Fixes: 3191ee171c43 ("filters: rewrite wrap in c") Signed-off-by: Robin Jarry <robin@jarry.cc>
-rw-r--r--.builds/alpine-edge.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.builds/alpine-edge.yml b/.builds/alpine-edge.yml
index 8398a9a4..8b8d9e0e 100644
--- a/.builds/alpine-edge.yml
+++ b/.builds/alpine-edge.yml
@@ -12,9 +12,7 @@ environment:
DESTDIR: ./out
GOFLAGS: "-tags=notmuch"
CC: gcc
- CFLAGS: >
- -O2 -g -Wall -Wextra -Werror -Wformat-security -Wstack-protector
- -fstack-protector-strong -fanalyzer
+ CFLAGS: -O2 -g -Wall -Wextra -Werror -Wformat-security -Wstack-protector -fstack-protector-strong -fanalyzer
FILTERS_TEST_PREFIX: valgrind --leak-check=full --error-exitcode=1
tasks:
- lint: |