mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 09:30:20 +01:00
st/clover: Add libelf cflags to the build
Otherwise the build will fail, when the library is in a non default location. v2 [Emil Velikov] - drop the unneeded cflags from targets/opencl. Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org> Fixes:7f585a6a98"configure.ac: use pkg-config for libelf" Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93524 Signed-off-by: Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit04bc09fdf9)
This commit is contained in:
parent
15bc51572e
commit
e8dd18dce6
2 changed files with 1 additions and 3 deletions
|
|
@ -41,6 +41,7 @@ libclllvm_la_CXXFLAGS = \
|
|||
$(VISIBILITY_CXXFLAGS) \
|
||||
$(LLVM_CXXFLAGS) \
|
||||
$(DEFINES) \
|
||||
$(LIBELF_CFLAGS) \
|
||||
-DLIBCLC_INCLUDEDIR=\"$(LIBCLC_INCLUDEDIR)/\" \
|
||||
-DLIBCLC_LIBEXECDIR=\"$(LIBCLC_LIBEXECDIR)/\" \
|
||||
-DCLANG_RESOURCE_DIR=\"$(CLANG_RESOURCE_DIR)\"
|
||||
|
|
|
|||
|
|
@ -2,9 +2,6 @@ include $(top_srcdir)/src/gallium/Automake.inc
|
|||
|
||||
lib_LTLIBRARIES = lib@OPENCL_LIBNAME@.la
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(LIBELF_CFLAGS)
|
||||
|
||||
lib@OPENCL_LIBNAME@_la_LDFLAGS = \
|
||||
$(LLVM_LDFLAGS) \
|
||||
-no-undefined \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue