summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-05-22 21:14:19 +1000
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-05-22 21:14:19 +1000
commit845a6b8c8dfa72d9f0b0d76a7bb4dedb2a794007 (patch)
treeb7a4a4fa8d288173e1d789acf3b36d7ad0e7f1aa /Makefile
parent8656027282931d8d279ce66a52775eacf9dd59a9 (diff)
fix(make): Change COVERAGE_FLAGS to use gcc friendly flags for
generating coverage instructions
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 94c1189..72bcb00 100644
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,8 @@ DEBUG_FLAGS = -g -O0 -fno-omit-frame-pointer
RELEASE_FLAGS = -O3 -march=native -flto
SANFLAGS = -fsanitize=address,undefined -g -O1
-COVERAGE_FLAGS = -fprofile-instr-generate -fcoverage-mapping
-COVERAGE_LDFLAGS = -fprofile-instr-generate -fcoverage-mapping
+COVERAGE_FLAGS = -fprofile-arcs -ftest-coverage
+COVERAGE_LDFLAGS = -fprofile-arcs -ftest-coverage
SRC = $(shell find src -name "*.c")