summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index f2428f8..81f7f6e 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -3,7 +3,9 @@ _FORTIFY_SOURCE ?= 3
3CFLAGS ?= -std=gnu99 3CFLAGS ?= -std=gnu99
4CFLAGS += -I../include/ -D_FORTIFY_SOURCE=$(_FORTIFY_SOURCE) -static -O2 -Wall -Wextra -Werror -Werror=pointer-arith 4CFLAGS += -I../include/ -D_FORTIFY_SOURCE=$(_FORTIFY_SOURCE) -static -O2 -Wall -Wextra -Werror -Werror=pointer-arith
5CFLAGS += -Wno-format -Wno-array-bounds -Wno-shift-count-negative -Wno-unused-variable -Wno-unused-parameter 5CFLAGS += -Wno-format -Wno-array-bounds -Wno-shift-count-negative -Wno-unused-variable -Wno-unused-parameter
6CXXFLAGS += -D_FORTIFY_SOURCE=$(_FORTIFY_SOURCE) 6CXXFLAGS += -D_FORTIFY_SOURCE=$(_FORTIFY_SOURCE) -O2
7CXXFLAGS += -Wno-format -Wno-array-bounds -Wno-shift-count-negative -Wno-unused-variable -Wno-unused-parameter
8
7 9
8RUNTIME_TARGETS= \ 10RUNTIME_TARGETS= \
9 test_FD_CLR_SETSIZE \ 11 test_FD_CLR_SETSIZE \
@@ -118,7 +120,7 @@ clang: CXX=clang++
118clang: CXXFLAGS+=-I/usr/include/$(MACHINE)-linux-musl 120clang: CXXFLAGS+=-I/usr/include/$(MACHINE)-linux-musl
119clang: CXXFLAGS+=-I../$(MACHINE)-linux-musl-native/include/ 121clang: CXXFLAGS+=-I../$(MACHINE)-linux-musl-native/include/
120clang: CXXFLAGS+=-I$(MACHINE)-linux-musl-native/include/ 122clang: CXXFLAGS+=-I$(MACHINE)-linux-musl-native/include/
121clang: CXXFLAGS+=-nostdinc 123clang: CXXFLAGS+=-nostdinc -Wno-fortify-source
122clang: $(RUNTIME_TARGETS) cpp 124clang: $(RUNTIME_TARGETS) cpp
123 125
124all: gcc 126all: gcc