automake: loader: rework the CPPFLAGS
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 19 Nov 2015 15:31:06 +0000 (15:31 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 20 Nov 2015 10:40:11 +0000 (10:40 +0000)
commit5a79e0a8e37ea10cfa6fc39f4fbe315f9620fe52
tree2b93bd25f1dc0ed49221fa311190b82cce1cd7f4
parent99840eb983f74cd447546f7205c8c9f505ef82c8
automake: loader: rework the CPPFLAGS

Rather than duplicating things, just use the generic AM_CPPFLAGS. This
has the fortunate side-effect of adding VISIBILITY_CFLAGS for the dri3
helper. The latter of which was erroneously exposing some internal
symbols.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reported-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Tested-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/loader/Makefile.am