amd/addrlib: Use defines in autotools build.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 14 May 2018 15:38:36 +0000 (17:38 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 20 May 2018 09:57:59 +0000 (11:57 +0200)
Otherwise stuff like NDEBUG would not be passed through.

CC: <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106479
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/Makefile.addrlib.am

index 322a5c86973b9238c74c9c68513b4bf3bcc50342..75ff7fbcf758ba4cb78e345a33004ba6be4b2777 100644 (file)
@@ -22,6 +22,7 @@
 ADDRLIB_LIBS = addrlib/libamdgpu_addrlib.la
 
 addrlib_libamdgpu_addrlib_la_CPPFLAGS = \
+       $(DEFINES) \
        -I$(top_srcdir)/src/ \
        -I$(srcdir)/common \
        -I$(srcdir)/addrlib \