Skip to content
Browse files

makefile: Define _GNU_SOURCE in the embed mkfile

  • Loading branch information...
1 parent 61eba2d commit 9b8d56087cf6e981da76ac9e9cdb84e7dbc0fc32 @vmg vmg committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile.embed
View
2 Makefile.embed
@@ -6,7 +6,7 @@ LIBNAME=libgit2.a
INCLUDES= -I. -Isrc -Iinclude -Ideps/http-parser -Ideps/zlib
-DEFINES= $(INCLUDES) -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64
+DEFINES= $(INCLUDES) -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
CFLAGS= -g $(DEFINES) -Wall -Wextra -fPIC -O2
SRCS = $(wildcard src/*.c) $(wildcard src/transports/*.c) $(wildcard src/unix/*.c) $(wildcard deps/http-parser/*.c) $(wildcard deps/zlib/*.c)

0 comments on commit 9b8d560

Please sign in to comment.
Something went wrong with that request. Please try again.