mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-11-28 07:21:21 +08:00
Define _GNU_SOURCE in CFLAGS, not req.c
This commit is contained in:
parent
e7ae49adde
commit
5bb812c56e
|
@ -2,7 +2,7 @@
|
|||
|
||||
CC = clang
|
||||
LD = clang
|
||||
CFLAGS = -Wall -g
|
||||
CFLAGS = -Wall -g -D_GNU_SOURCE
|
||||
LDFLAGS = -ljansson
|
||||
|
||||
!cc = |> $(CC) $(CFLAGS) -c %f -o %o |>
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Reference in New Issue
Block a user