diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2014-12-12 14:57:53 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2014-12-12 14:57:53 +0100 |
commit | cce2f78660bb76bd9d2e043cc30dac5da5100bd9 (patch) | |
tree | 30d2ebb0a2e915bf7632c43180ede0f62ba066ec | |
parent | 93f397c19641e0c1da7ab41cbd91c57b0a750f9a (diff) |
config.mk: specify _XOPEN_SOURCE=700, fixes warnings on OpenBSD
-rw-r--r-- | config.mk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |