summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-05-14 17:38:36 +0200
committerBas Nieuwenhuizen <[email protected]>2018-05-20 11:57:59 +0200
commit62e0e089d710835d9f79138377bcc37147f75ebd (patch)
tree23da33774a796f023fe76ace53504217c32a688d /src
parentcfe582f9dcef24fdd0c678ddb653d40bafcb65bd (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]>
Diffstat (limited to 'src')
-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 \