aboutsummaryrefslogtreecommitdiff
path: root/c/Makefile.testing
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2023-01-19 13:12:21 -0800
committerJack O'Connor <[email protected]>2023-01-19 13:59:41 -0800
commit1aceb945e0d2faf9fbb3a9f89a7e4b7fca71f099 (patch)
treee56f0124acd93420981fe010d2ff8ba706e685da /c/Makefile.testing
parent606a5825d910249094d8d9c78f83d1cabaf5dfb2 (diff)
set CFLAGS in CI, including -Werrorwerror
These only affect the Makefile tests (which only run on Linux) since -Werror currently fails on Windows and macOS.
Diffstat (limited to 'c/Makefile.testing')
-rw-r--r--c/Makefile.testing4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/Makefile.testing b/c/Makefile.testing
index b540528..dba5da7 100644
--- a/c/Makefile.testing
+++ b/c/Makefile.testing
@@ -3,8 +3,8 @@
NAME=blake3
CC=gcc
-CFLAGS=-O3 -Wall -Wextra -std=c11 -pedantic -fstack-protector-strong -D_FORTIFY_SOURCE=2 -fPIE -fvisibility=hidden
-LDFLAGS=-pie -Wl,-z,relro,-z,now
+CFLAGS+=-O3 -Wall -Wextra -std=c11 -pedantic -fstack-protector-strong -D_FORTIFY_SOURCE=2 -fPIE -fvisibility=hidden
+LDFLAGS+=-pie -Wl,-z,relro,-z,now
TARGETS=
ASM_TARGETS=
EXTRAFLAGS=-Wa,--noexecstack