summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-12-07 23:52:07 (GMT)
committerYann Collet <cyan@fb.com>2016-12-07 23:52:07 (GMT)
commit7e2d4c4c08934a1fa85fa8324c3e134ce69c6648 (patch)
tree4ee16f840ef8122931fa5265fcde76a4969fcdc3 /tests
parent750a50cf67e8574500e4f9b4bb5e7f6cdd6f9c26 (diff)
downloadlz4-7e2d4c4c08934a1fa85fa8324c3e134ce69c6648.zip
lz4-7e2d4c4c08934a1fa85fa8324c3e134ce69c6648.tar.gz
lz4-7e2d4c4c08934a1fa85fa8324c3e134ce69c6648.tar.bz2
fixed test-lz4c32
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Makefile b/tests/Makefile
index adfcfea..eb36abf 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -38,7 +38,7 @@ VOID := /dev/null
TESTDIR := versionsTest
PYTHON ?= python3
-CFLAGS ?= -O3 # can select custom flags. For example : CFLAGS="-O2 -g" make
+CFLAGS ?= -O3 # can select custom optimization flags. For example : CFLAGS=-O2 make
CFLAGS += -g -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum \
-Wdeclaration-after-statement -Wstrict-prototypes \
-Wpointer-arith -Wstrict-aliasing=1
@@ -207,10 +207,10 @@ test-lz4-multiple: lz4 datagen
@$(RM) tmp*
unlz4:
- @$(MAKE) -C $(PRGDIR) $@
+ @$(MAKE) -C $(PRGDIR) $@ CFLAGS="$(CFLAGS)"
lz4cat:
- @$(MAKE) -C $(PRGDIR) $@
+ @$(MAKE) -C $(PRGDIR) $@ CFLAGS="$(CFLAGS)"
test-lz4-basic: lz4 datagen unlz4 lz4cat
@echo "\n ---- test lz4 basic compression/decompression ----"