From 93687ac8dedab54af1973bdbe4929b4556023c72 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 24 Dec 2024 17:48:43 +0100 Subject: Define _GNU_SOURCE --- Makefiles/c.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefiles/c.mk b/Makefiles/c.mk index e890ad0..279f61b 100644 --- a/Makefiles/c.mk +++ b/Makefiles/c.mk @@ -4,7 +4,7 @@ CC = cc CFLAGS = \ -Wall -Wextra -Wpedantic -Werror \ -march=native -mtune=native -O3 -flto \ - -pipe + -pipe -D_GNU_SOURCE ALL = ${CC} ${CFLAGS} ${CPPFLAGS} ${LDLIBS} @@ -18,4 +18,4 @@ all: if [ -f puzzle-2.c ]; then ${ALL} -o puzzle-2 puzzle-2.c; fi clean: - rm -f puzzle-[12] \ No newline at end of file + rm -f puzzle-[12] -- cgit v1.2.3