From: Bas Nieuwenhuizen Date: Mon, 14 May 2018 15:38:36 +0000 (+0200) Subject: amd/addrlib: Use defines in autotools build. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=62e0e089d710835d9f79138377bcc37147f75ebd;p=mesa.git amd/addrlib: Use defines in autotools build. Otherwise stuff like NDEBUG would not be passed through. CC: Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106479 Reviewed-by: Marek Olšák --- 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 \