diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2017-03-21 22:14:54 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2017-03-21 22:14:54 +0000 |
commit | d415411b5121456644edd14e593f9bb1ca18fb0a (patch) | |
tree | bed1ec31d775f2a24cdfc2339f2792f27e96c561 | |
parent | a6b325d7bfc68282ccbedec8778e993529af26b2 (diff) | |
download | hktool-d415411b5121456644edd14e593f9bb1ca18fb0a.tar.gz hktool-d415411b5121456644edd14e593f9bb1ca18fb0a.tar.xz hktool-d415411b5121456644edd14e593f9bb1ca18fb0a.zip |
Makefile: POSIX.1-2008 -> POSIX.1-2001 minimum posix version
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |