cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 72f25263b10102c2b72f32c97aec98e057675bbd
parent bc9842954128d2edf37ac16809d19e7b75157314
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 23 Jul 2020 11:51:14 +0300

kiss-readlink: define _XOPEN_SOURCE on the Makefile

Diffstat:
Mbin/kiss-readlink.c | 1-
Mconfig.mk | 1+
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git 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); diff --git a/config.mk b/config.mk @@ -11,6 +11,7 @@ MAN1 = ${MANPREFIX}/man1 # Flags CFLAGS = -std=c99 -Wpedantic -Wall -Os +CFLAGS += -D_XOPEN_SOURCE=700 LDFLAGS = -s -static LIBS = -lc