commit cce2f78660bb76bd9d2e043cc30dac5da5100bd9 parent 93f397c19641e0c1da7ab41cbd91c57b0a750f9a Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 12 Dec 2014 14:57:53 +0100 config.mk: specify _XOPEN_SOURCE=700, fixes warnings on OpenBSD Diffstat:
M | config.mk | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/config.mk b/config.mk @@ -13,16 +13,16 @@ LIBS = -lc # debug CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic \ - -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE + -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 LDFLAGS = ${LIBS} # optimized -#CFLAGS = -O2 -std=c99 -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE +#CFLAGS = -O2 -std=c99 -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 #LDFLAGS = -s ${LIBS} # tcc #CC = tcc -#CFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE +#CFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 #LDFLAGS = -s ${LIBS} # compiler and linker