From 692357e240c6cbcd9bef62554c8b09bd2f5ed839 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 5 Sep 2017 18:19:45 +0200 Subject: build: Define _GNU_SOURCE in Makefile.am In meson I want to just set this everywhere (no reason not to), and doing so will allow us to clean up a few things. But that means autofoo needs to follow suit. v2: Rebase. Reviewed-by: Eric Anholt Acked-by: Jani Nikula Acked-by: Arkadiusz Hiler Acked-by: Petri Latvala Acked-by: Daniel Stone Acked-by: Radoslaw Szwichtenberg Signed-off-by: Daniel Vetter --- lib/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/tests') diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am index 5d14194a..63bbbe59 100644 --- a/lib/tests/Makefile.am +++ b/lib/tests/Makefile.am @@ -12,6 +12,7 @@ AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) $(DEBUG_CFLAGS) \ -I$(srcdir)/.. \ -include "$(srcdir)/../../lib/check-ndebug.h" \ -DIGT_DATADIR=\""$(abs_srcdir)"\" \ + -D_GNU_SOURCE $(NULL) LDADD = ../libintel_tools.la $(PCIACCESS_LIBS) $(DRM_LIBS) $(LIBUNWIND_LIBS) $(TIMER_LIBS) -- cgit v1.2.3