Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

makefile: Define _GNU_SOURCE in the embed mkfile

  • Loading branch information...
commit 9b8d56087cf6e981da76ac9e9cdb84e7dbc0fc32 1 parent 61eba2d
@vmg vmg authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.