summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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