summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2018-03-09 19:54:32 (GMT)
committerYann Collet <cyan@fb.com>2018-03-09 19:54:32 (GMT)
commit6c23f03b93608a444f8747940bca26708a58fa78 (patch)
treeaa5719976b565ab2c3184419c735e33d1c6465bc
parent6d4e60e365d1353c9dac46f5bcfa48edfd9ab623 (diff)
downloadlz4-6c23f03b93608a444f8747940bca26708a58fa78.zip
lz4-6c23f03b93608a444f8747940bca26708a58fa78.tar.gz
lz4-6c23f03b93608a444f8747940bca26708a58fa78.tar.bz2
fix #482: change CFLAGS to CXXFLAGS
as they are associated with $(CXX)
-rw-r--r--contrib/gen_manual/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/gen_manual/Makefile b/contrib/gen_manual/Makefile
index 9fbe858..95abe2e 100644
--- a/contrib/gen_manual/Makefile
+++ b/contrib/gen_manual/Makefile
@@ -30,10 +30,10 @@
# ################################################################
-CFLAGS ?= -O3
-CFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wno-comment
-CFLAGS += $(MOREFLAGS)
-FLAGS = $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
+CXXFLAGS ?= -O3
+CXXFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wno-comment
+CXXFLAGS += $(MOREFLAGS)
+FLAGS = $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS)
LZ4API = ../../lib/lz4.h
LZ4MANUAL = ../../doc/lz4_manual.html