OSDN Git Service

tests/nouveau: automake: fold C and CPP flags
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 27 Jan 2017 16:15:45 +0000 (16:15 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 27 Jan 2017 16:15:45 +0000 (16:15 +0000)
Since we don't have any C++ souces this should be a no-op. Folding the
two seems to be the common practise throughout the repo.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
tests/nouveau/Makefile.am

index c4f6e29..225d6e6 100644 (file)
@@ -1,10 +1,9 @@
-AM_CPPFLAGS = \
+AM_CFLAGS = \
+       $(WARN_CFLAGS) \
        -I$(top_srcdir)/include/drm \
        -I$(top_srcdir)/nouveau \
        -I$(top_srcdir)
 
-AM_CFLAGS = $(WARN_CFLAGS)
-
 LDADD = \
        ../../nouveau/libdrm_nouveau.la \
        ../../libdrm.la \