Unverified Commit 30b5bab4 authored by Jeff Brown's avatar Jeff Brown Committed by GitHub
Browse files

Update config.mk to add GNU compilation options

With the ultimate goal to #define _GNU_SOURCE  in imlibc to avoid implicit function Werrors of mkstemps()
parent 47ac43b6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ VERSION ?= ${shell git describe --dirty}
app ?= 0
curl ?= 1
debug ?= 0
gnu ?= 0
exif ?= 0
help ?= 0
magic ?= 0
@@ -57,6 +58,10 @@ else
	MAN_DEBUG = .
endif

ifeq (${gnu},1)
	CFLAGS += -DHAVE_GNU
endif

ifeq (${help},1)
	CFLAGS += -DINCLUDE_HELP
endif