summaryrefslogtreecommitdiffstats
path: root/programs/Makefile
diff options
context:
space:
mode:
authorLouis P. Santillan <lpsantil@gmail.com>2015-05-26 04:41:45 (GMT)
committerLouis P. Santillan <lpsantil@gmail.com>2015-05-26 04:41:45 (GMT)
commitb2bbb2790d50f09b594f6588ebdade62966b5d5c (patch)
treeaa6d98a147d5c7366fe7b5b53e6ef142b0a633c8 /programs/Makefile
parent7d182b816ace89d6d6d16b7aee376a9962a05caa (diff)
downloadlz4-b2bbb2790d50f09b594f6588ebdade62966b5d5c.zip
lz4-b2bbb2790d50f09b594f6588ebdade62966b5d5c.tar.gz
lz4-b2bbb2790d50f09b594f6588ebdade62966b5d5c.tar.bz2
Fixup programs/{Makefile,lz4cli.c,lz4io.c} to build with Andrew Wu's build-djgpp cross compilers. Add some documentation in README.DJ
Diffstat (limited to 'programs/Makefile')
-rw-r--r--programs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/Makefile b/programs/Makefile
index 39335db..5e818e4 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -39,7 +39,7 @@ RELEASE?= r129
DESTDIR?=
PREFIX ?= /usr/local
CFLAGS ?= -O3
-CFLAGS += -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -pedantic -DLZ4_VERSION=\"$(RELEASE)\"
+CFLAGS += -std=gnu99 -Wall -Wextra -Wundef -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -pedantic -DLZ4_VERSION=\"$(RELEASE)\"
FLAGS := -I../lib $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
BINDIR := $(PREFIX)/bin