]> git.alsa-project.org Git - alsa-utils.git/commitdiff
amixer: define _GNU_SOURCE to get exp10
authorMilton Vandersloot <miltonvandersloot@fake-box.com>
Wed, 27 Mar 2019 16:36:54 +0000 (17:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 6 Apr 2019 06:58:49 +0000 (08:58 +0200)
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 <miltonvandersloot@fake-box.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
amixer/Makefile.am

index 0343c8e1e58a1698fc59ce37a679f2300083b930..b4526cabbdbcbc909b65d52e87bd8c2b4321a881 100644 (file)
@@ -1,3 +1,4 @@
+AM_CFLAGS = -D_GNU_SOURCE
 AM_CPPFLAGS = -I$(top_srcdir)/include
 LDADD = -lm
 # LDFLAGS = -static