diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile index b71c004..f2428f8 100644 --- a/tests/Makefile +++ b/tests/Makefile | |||
| @@ -1,7 +1,9 @@ | |||
| 1 | MACHINE := $(shell uname -m) | 1 | MACHINE := $(shell uname -m) |
| 2 | _FORTIFY_SOURCE ?= 3 | ||
| 2 | CFLAGS ?= -std=gnu99 | 3 | CFLAGS ?= -std=gnu99 |
| 3 | CFLAGS += -I../include/ -D_FORTIFY_SOURCE=3 -static -O2 -Wall -Wextra -Werror -Werror=pointer-arith | 4 | CFLAGS += -I../include/ -D_FORTIFY_SOURCE=$(_FORTIFY_SOURCE) -static -O2 -Wall -Wextra -Werror -Werror=pointer-arith |
| 4 | CFLAGS += -Wno-format -Wno-array-bounds -Wno-shift-count-negative -Wno-unused-variable -Wno-unused-parameter | 5 | CFLAGS += -Wno-format -Wno-array-bounds -Wno-shift-count-negative -Wno-unused-variable -Wno-unused-parameter |
| 6 | CXXFLAGS += -D_FORTIFY_SOURCE=$(_FORTIFY_SOURCE) | ||
| 5 | 7 | ||
| 6 | RUNTIME_TARGETS= \ | 8 | RUNTIME_TARGETS= \ |
| 7 | test_FD_CLR_SETSIZE \ | 9 | test_FD_CLR_SETSIZE \ |
