winsys/amdgpu: Pull in LLVM CFLAGS
Fixes build failure if the LLVM headers aren't in a standard include
directory.
Fixes: ec22dd34c8
"radeonsi: move SI_FORCE_FAMILY functionality to
winsys"
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
0ddc911f4d
commit
9d8395bf0e
|
@ -4,6 +4,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
|
||||||
AM_CFLAGS = \
|
AM_CFLAGS = \
|
||||||
$(GALLIUM_WINSYS_CFLAGS) \
|
$(GALLIUM_WINSYS_CFLAGS) \
|
||||||
$(AMDGPU_CFLAGS) \
|
$(AMDGPU_CFLAGS) \
|
||||||
|
$(LLVM_CFLAGS) \
|
||||||
-I$(top_srcdir)/src/amd/
|
-I$(top_srcdir)/src/amd/
|
||||||
|
|
||||||
AM_CXXFLAGS = $(AM_CFLAGS)
|
AM_CXXFLAGS = $(AM_CFLAGS)
|
||||||
|
|
|
@ -31,5 +31,5 @@ libamdgpuwinsys = static_library(
|
||||||
c_args : [c_vis_args],
|
c_args : [c_vis_args],
|
||||||
cpp_args : [cpp_vis_args],
|
cpp_args : [cpp_vis_args],
|
||||||
link_with : libamdgpu_addrlib,
|
link_with : libamdgpu_addrlib,
|
||||||
dependencies : dep_libdrm_amdgpu,
|
dependencies : [dep_llvm, dep_libdrm_amdgpu],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue