From: Lukas Jiriste Date: Thu, 29 Aug 2024 08:06:53 +0000 (+0200) Subject: Change Makefile to permit usage of sigaction X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=0c6238561e96c0c17ce910913a98536a5aad6f66;p=42%2Fminishell.git Change Makefile to permit usage of sigaction The C99 standard does not include the sigaction function and structure as they are (probably) GNU extensions. Using the GNU99 version instead permits the extension usage. --- diff --git a/Makefile b/Makefile index b100a97..d9ab6f9 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CC := gcc -CFLAGS = -std=c99 -Wall -Wextra -Werror -Wpedantic +CFLAGS = -std=gnu99 -Wall -Wextra -Werror -Wpedantic ifneq ("$(wildcard .debug)","") CFLAGS += -g