aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2017-03-21 22:14:54 +0000
committerTomasz Kramkowski <tk@the-tk.com>2017-03-21 22:14:54 +0000
commitd415411b5121456644edd14e593f9bb1ca18fb0a (patch)
treebed1ec31d775f2a24cdfc2339f2792f27e96c561
parenta6b325d7bfc68282ccbedec8778e993529af26b2 (diff)
downloadhktool-d415411b5121456644edd14e593f9bb1ca18fb0a.tar.gz
hktool-d415411b5121456644edd14e593f9bb1ca18fb0a.tar.xz
hktool-d415411b5121456644edd14e593f9bb1ca18fb0a.zip
Makefile: POSIX.1-2008 -> POSIX.1-2001 minimum posix version
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3663579..8871eaa 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ WARNINGS := -Wall -Wcast-align -Wcast-qual -Wextra -Wpedantic -Wformat=2 \
PKG_CONFIG ?= pkg-config
LIBS := libusb-1.0
-CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_POSIX_C_SOURCE=200809L
+CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_POSIX_C_SOURCE=200112L
CFLAGS = -std=c11 -O2 -flto $(WARNINGS) -MMD -MP $(shell $(PKG_CONFIG) --cflags $(LIBS))
LDFLAGS = -Wl,--as-needed -O2 -flto
LDLIBS = $(shell $(PKG_CONFIG) --libs $(LIBS))