diff options
author | Yann Collet <cyan@fb.com> | 2020-12-01 16:02:50 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2020-12-01 16:05:19 (GMT) |
commit | 4b7a3270689127e60a586e2231b3d2b7a47c4a79 (patch) | |
tree | c80209514ed8a4fe88d49b4639294b2ecaad75ab /Makefile | |
parent | 50ff8b3ae8a3397571f5d3b96a1d85ea29760a65 (diff) | |
download | lz4-4b7a3270689127e60a586e2231b3d2b7a47c4a79.zip lz4-4b7a3270689127e60a586e2231b3d2b7a47c4a79.tar.gz lz4-4b7a3270689127e60a586e2231b3d2b7a47c4a79.tar.bz2 |
fix strange printf formatting warning
so now, `%p` _requires_ a `void*` pointer ?
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -134,7 +134,8 @@ test: $(MAKE) -C $(EXDIR) $@ .PHONY: clangtest -clangtest: CFLAGS ?= -O3 # strangely, this line has the hidden side effect of `unexport CFLAGS` +clangtest: CFLAGS ?= -O3 # make's bug (http://savannah.gnu.org/bugs/?func=detailitem&item_id=59230) +# this line has the hidden side effect of `unexport CFLAGS` export CFLAGS # fix the side effect by issuing export command clangtest: CFLAGS += -Werror -Wconversion -Wno-sign-conversion clangtest: CC = clang @@ -189,7 +190,7 @@ versionsTest: clean $(MAKE) -C $(TESTDIR) $@ .PHONY: cxxtest cxx32test -cxxtest cxx32test: CC = "$(CXX) -Wno-deprecated" +cxxtest cxx32test: CC := "$(CXX) -Wno-deprecated" cxxtest cxx32test: CFLAGS = -O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror cxx32test: CFLAGS += -m32 cxxtest cxx32test: clean |