diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2014-11-26 16:35:01 +0100 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2014-11-26 16:35:01 +0100 |
commit | c86e130ab1af4b6161b2a71a2449d2e02109800f (patch) | |
tree | a5f606466c0234797a412bf1fa92794b110ecd08 | |
parent | 448365b5889747ee04ac8d8628b730aa477ca89e (diff) | |
download | 0xFFFF-c86e130ab1af4b6161b2a71a2449d2e02109800f.tar.bz2 |
Makefile: Now 0xFFFF is Posix compatible, enable -D_POSIX_C_SOURCE=200809L
-rw-r--r-- | src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index b436ee6..cad52e3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -7,7 +7,7 @@ CC = gcc CROSS_CC = $(CROSS_COMPILE)$(CC) HOST_CC = $(HOST_COMPILE)$(CC) -CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_GNU_SOURCE +CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L CFLAGS += -W -Wall -O2 -pedantic -std=c99 LIBS += -lusb |