summarylogtreecommitdiffstats
path: root/010-libjpeg-xl-fix-highway-build.patch
diff options
context:
space:
mode:
Diffstat (limited to '010-libjpeg-xl-fix-highway-build.patch')
-rw-r--r--010-libjpeg-xl-fix-highway-build.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/010-libjpeg-xl-fix-highway-build.patch b/010-libjpeg-xl-fix-highway-build.patch
new file mode 100644
index 00000000000..7cccbd7071a
--- /dev/null
+++ b/010-libjpeg-xl-fix-highway-build.patch
@@ -0,0 +1,12 @@
+--- a/third_party/highway/CMakeLists.txt
++++ b/third_party/highway/CMakeLists.txt
+@@ -90,6 +90,9 @@ set(HWY_FLAGS
+ -Wnon-virtual-dtor
+ -Woverloaded-virtual
+ -Wvla
++
++ # Build fixes
++ -fPIC
+ )
+
+ if(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")