summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2016-08-28 11:55:36 (GMT)
committerGitHub <noreply@github.com>2016-08-28 11:55:36 (GMT)
commit7f08131f9986f0c19f2683d023d1cd9fdab41e32 (patch)
tree77fdd51d65d2afa44b68d8f779665c4e4e90b07f /lib
parent5bd3eaa481f4446b03a062d12119ef11e0f46653 (diff)
parent3fa60044e77be14b187baac779a5ea72f800ab75 (diff)
downloadlz4-7f08131f9986f0c19f2683d023d1cd9fdab41e32.zip
lz4-7f08131f9986f0c19f2683d023d1cd9fdab41e32.tar.gz
lz4-7f08131f9986f0c19f2683d023d1cd9fdab41e32.tar.bz2
Merge pull request #226 from gsauthof/port-make
Fix POSIX portability and cmake file
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 879d2b3..52e0f95 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -41,7 +41,7 @@ DESTDIR?=
PREFIX ?= /usr/local
CPPFLAGS= -DXXH_NAMESPACE=LZ4_
CFLAGS ?= -O3
-CFLAGS += -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -pedantic
+CFLAGS += -std=gnu99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -pedantic
FLAGS = $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
LIBDIR?= $(PREFIX)/lib