aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2018-03-21 07:19:48 -0700
committerYann Collet <cyan@fb.com>2018-03-21 07:19:48 -0700
commit7b4c448571b678978bf8fc77e7ba89759086b672 (patch)
tree791cd2cee4a1a36a96eda07e47cf72d537b5669c /Makefile
parent863e24892d853ea8100c9224c8f3a0c917e055c7 (diff)
downloadlz4-7b4c448571b678978bf8fc77e7ba89759086b672.tar.gz
added c90 test to c_standards
to catch `//` comments
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ff84d6d4..3a958080 100644
--- a/Makefile
+++ b/Makefile
@@ -173,7 +173,7 @@ gpptest gpptest32: clean
CC=$(CC) $(MAKE) -C $(TESTDIR) all CFLAGS="$(CFLAGS)"
c_standards: clean
- # note : lz4 is not C90 compatible, because it requires long long support
+ CFLAGS="-std=c90 -Werror" $(MAKE) clean allmost
CFLAGS="-std=gnu90 -Werror" $(MAKE) clean allmost
CFLAGS="-std=c99 -Werror" $(MAKE) clean allmost
CFLAGS="-std=gnu99 -Werror" $(MAKE) clean allmost