From: Milton Vandersloot Date: Wed, 27 Mar 2019 16:36:54 +0000 (+0100) Subject: amixer: define _GNU_SOURCE to get exp10 X-Git-Tag: v1.1.9~5 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=551cc37fc66dc3be0a1423788b70bfa7e7501721;p=alsa-utils.git 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 --- 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