summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2019-04-23 21:18:11 (GMT)
committerDmitry V. Levin <ldv@altlinux.org>2019-04-23 21:18:11 (GMT)
commit8069d2ae6ff88fbaeff1c8d5bf1e4d3eedca1d3c (patch)
tree374b63f6e0ca0514c31524b059d232b0e9ca4cd2 /tests
parent10726d4c56a54393ff105009077124472f0a369c (diff)
downloadlz4-8069d2ae6ff88fbaeff1c8d5bf1e4d3eedca1d3c.zip
lz4-8069d2ae6ff88fbaeff1c8d5bf1e4d3eedca1d3c.tar.gz
lz4-8069d2ae6ff88fbaeff1c8d5bf1e4d3eedca1d3c.tar.bz2
test-amalgamation: fix compilation options
Use the same compilation options to compile lz4_all.c and other object files. Fixes: a7e8d394 ("[amalgamation] add test")
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index f327535..36cb26a 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -159,7 +159,7 @@ test32: test
.PHONY: test-amalgamation
test-amalgamation: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c
cat $^ > lz4_all.c
- $(CC) -I$(LZ4DIR) -c lz4_all.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) -c lz4_all.c
$(RM) lz4_all.c
test-install: lz4 lib liblz4.pc