projects
/
platform
/
upstream
/
lz4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10726d4
)
test-amalgamation: fix compilation options
author
Dmitry V. Levin
<ldv@altlinux.org>
Tue, 23 Apr 2019 21:18:11 +0000
(21:18 +0000)
committer
Dmitry V. Levin
<ldv@altlinux.org>
Tue, 23 Apr 2019 21:18:11 +0000
(21:18 +0000)
Use the same compilation options to compile lz4_all.c and other object files.
Fixes:
a7e8d394
("[amalgamation] add test")
tests/Makefile
patch
|
blob
|
history
diff --git
a/tests/Makefile
b/tests/Makefile
index
f327535
..
36cb26a
100644
(file)
--- 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