[Mesa-stable] [PATCH] amd/addrlib: Use defines in autotools build.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Mon May 14 15:48:25 UTC 2018


Otherwise stuff like NDEBUG would not be passed through.

CC: <mesa-stable at lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106479
---
 src/amd/Makefile.addrlib.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/Makefile.addrlib.am b/src/amd/Makefile.addrlib.am
index 322a5c86973..75ff7fbcf75 100644
--- a/src/amd/Makefile.addrlib.am
+++ b/src/amd/Makefile.addrlib.am
@@ -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 \
-- 
2.17.0



More information about the mesa-stable mailing list