summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2018-05-14 17:38:36 +0200
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>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: <mesa-stable@lists.freedesktop.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106479 Reviewed-by: Marek Olšák <marek.olsak@amd.com>
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 322a5c8697..75ff7fbcf7 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 \