summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2019-04-19 17:23:50 (GMT)
committerYann Collet <cyan@fb.com>2019-04-19 17:23:50 (GMT)
commitaf35920c81e388f7d5f8be5560d791a9f265a4f5 (patch)
treed31808b2dc0a53e764f08312d17b6b5e6be68c7d /Makefile
parent10b9e912276e45355435a45d58e24cf92d192b75 (diff)
downloadlz4-af35920c81e388f7d5f8be5560d791a9f265a4f5.zip
lz4-af35920c81e388f7d5f8be5560d791a9f265a4f5.tar.gz
lz4-af35920c81e388f7d5f8be5560d791a9f265a4f5.tar.bz2
lz4frame: initializers compatibility with C++
fix #679, reported by @degski
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f3844a1..4edb47a 100644
--- a/Makefile
+++ b/Makefile
@@ -182,7 +182,7 @@ gpptest gpptest32: clean
CC=$(CC) $(MAKE) -C $(TESTDIR) all CFLAGS="$(CFLAGS)"
cxx17build : CC = "$(CXX) -Wno-deprecated"
-cxx17build : CFLAGS = -std=c++17 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror
+cxx17build : CFLAGS = -std=c++17 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror -pedantic
cxx17build : clean
$(CXX) -v
CC=$(CC) $(MAKE) -C $(LZ4DIR) all CFLAGS="$(CFLAGS)"