From 8069d2ae6ff88fbaeff1c8d5bf1e4d3eedca1d3c Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 23 Apr 2019 21:18:11 +0000 Subject: [PATCH] test-amalgamation: fix compilation options Use the same compilation options to compile lz4_all.c and other object files. Fixes: a7e8d394 ("[amalgamation] add test") --- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4