From ab4892bf8e60a25c0ae21c81751433c5d44d1208 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 28 Mar 2013 13:56:06 +0100 Subject: [PATCH] move _GNU_SOURCE to AM_CFLAGS --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index d194002..22e314d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,9 +23,11 @@ gummibootlibdir = $(prefix)/lib/gummiboot AM_CPPFLAGS = -include config.h AM_CFLAGS = \ + -D_GNU_SOURCE \ -Wall \ -Wextra \ - -Wmissing-prototypes + -Wmissing-prototypes \ + -Wno-unused-parameter AM_LDFLAGS = EXTRA_DIST = autogen.sh README LICENSE @@ -41,7 +43,6 @@ gummiboot_SOURCES = \ gummiboot_CFLAGS = \ $(AM_CFLAGS) \ - -Wno-unused-parameter -D_GNU_SOURCE \ -DMACHINE_TYPE_NAME=\"$(MACHINE_TYPE_NAME)\" \ -DGUMMIBOOTLIBDIR=\"$(gummibootlibdir)\" \ $(BLKID_CFLAGS) -- 2.7.4