From e098edb98a3a4e4667f78c3bb905374b558f7fb4 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 16 Dec 2022 19:49:30 -0300 Subject: etc/sh/rc: Add _POSIX_C_SOURCE to $CFLAGS by default --- etc/sh/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/sh') diff --git a/etc/sh/rc b/etc/sh/rc index aa0ee5a..1a77b67 100644 --- a/etc/sh/rc +++ b/etc/sh/rc @@ -76,7 +76,7 @@ N_PROCS=$(($(nproc) * 2 + 1)) GUILE_EFFECTIVE_VERSION="$(guile -c '(display (effective-version))')" export MAKEFLAGS="-j $N_PROCS" export GOPATH="$SRC/go" -export CFLAGS='-std=c99 -Wall -Wextra -Wpedantic -O0 -g -flto -Werror' +export CFLAGS='-D_POSIX_C_SOURCE=200809L -std=c99 -Wall -Wextra -Wpedantic -O0 -g -flto -Werror' export CC=gcc export AR=gcc-ar export LEX=flex -- cgit v1.2.3