diff options
author | merakor <cem@ckyln.com> | 2020-07-23 08:51:13 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-07-23 08:51:13 +0000 |
commit | cab7e88f57931fbc9130967287e8593a47f29064 (patch) | |
tree | 41105e3e30995b22ff3ffe200487d2d36b4eebd8 | |
parent | ca472fb8e9384951bc16b18ecf7f50da86edb9b2 (diff) | |
download | cpt-cab7e88f57931fbc9130967287e8593a47f29064.tar.gz |
kiss-readlink: define _XOPEN_SOURCE on the Makefile
FossilOrigin-Name: f865a9075ebd59ee0205b617c8b0d511ba8213712429f34ee8a239f0396be28b
-rw-r--r-- | bin/kiss-readlink.c | 1 | ||||
-rw-r--r-- | config.mk | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/bin/kiss-readlink.c b/bin/kiss-readlink.c index 825b74d..e65c0d9 100644 --- a/bin/kiss-readlink.c +++ b/bin/kiss-readlink.c @@ -9,7 +9,6 @@ #include <string.h> #include <limits.h> -#define _XOPEN_SOURCE 700 char *realpath(const char *path, char *resolved_path); @@ -11,6 +11,7 @@ MAN1 = ${MANPREFIX}/man1 # Flags CFLAGS = -std=c99 -Wpedantic -Wall -Os +CFLAGS += -D_XOPEN_SOURCE=700 LDFLAGS = -s -static LIBS = -lc |