summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-05-14 17:38:36 +0200
committerDylan Baker <[email protected]>2018-05-30 16:56:47 -0700
commitf969afdf2debb44ade50e35baef5f7f7e134b317 (patch)
tree2bbd705eaafe6d4a19a5abea090604f595c17f8a
parent5d4b5b0745ba37290bd164e3e56f94650850b70d (diff)
amd/addrlib: Use defines in autotools build.
Otherwise stuff like NDEBUG would not be passed through. CC: <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106479 Reviewed-by: Marek Olšák <[email protected]> (cherry picked from commit 62e0e089d710835d9f79138377bcc37147f75ebd)
-rw-r--r--src/amd/Makefile.addrlib.am1
1 files changed, 1 insertions, 0 deletions
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 \