projects
/
42
/
minishell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27531d3
)
Change Makefile to permit usage of sigaction
author
Lukas Jiriste
<ljiriste@student.42prague.com>
Thu, 29 Aug 2024 08:06:53 +0000
(10:06 +0200)
committer
Lukas Jiriste
<ljiriste@student.42prague.com>
Thu, 29 Aug 2024 08:06:53 +0000
(10:06 +0200)
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.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index b100a973bfc0efec75ed28d3afa1939282bc5c66..d9ab6f96bb1d95db66e558a480432e7ed5425040 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,5
+1,5
@@
CC := gcc
-CFLAGS = -std=
c
99 -Wall -Wextra -Werror -Wpedantic
+CFLAGS = -std=
gnu
99 -Wall -Wextra -Werror -Wpedantic
ifneq ("$(wildcard .debug)","")
CFLAGS += -g