From 551cc37fc66dc3be0a1423788b70bfa7e7501721 Mon Sep 17 00:00:00 2001 From: Milton Vandersloot Date: Wed, 27 Mar 2019 17:36:54 +0100 Subject: [PATCH] amixer: define _GNU_SOURCE to get exp10 Get rid of a warning about implicit declaration of exp10, which is behind _GNU_SOURCE as a non-standard feature. The same problem was fixed for alsamixer in commit 116488e5f2f1b897084bd151381ee254e1cc177d. Signed-off-by: Milton Vandersloot Signed-off-by: Takashi Iwai --- amixer/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/amixer/Makefile.am b/amixer/Makefile.am index 0343c8e..b4526ca 100644 --- a/amixer/Makefile.am +++ b/amixer/Makefile.am @@ -1,3 +1,4 @@ +AM_CFLAGS = -D_GNU_SOURCE AM_CPPFLAGS = -I$(top_srcdir)/include LDADD = -lm # LDFLAGS = -static -- 2.47.1