summaryrefslogtreecommitdiffstats
path: root/libcxx/utils/google-benchmark
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2019-07-30 20:47:59 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2019-07-30 20:47:59 +0000
commit1e4a094b37a1aa32d860dd036dd7f1fffb18ba9c (patch)
tree9151679484fc267a7b0b754781a64023c2dbb12b /libcxx/utils/google-benchmark
parent9aff33bb95034ded5a6df01ca12f4d5cc0afc277 (diff)
downloadbcm5719-llvm-1e4a094b37a1aa32d860dd036dd7f1fffb18ba9c.tar.gz
bcm5719-llvm-1e4a094b37a1aa32d860dd036dd7f1fffb18ba9c.zip
[benchmark] Fix win32 link on case-sensitive fs
Summary: This fixes cross-builds with MinGW from case-sensitive file-systems (on Linux) This is a cherry-pick from https://github.com/google/benchmark/pull/840 https://github.com/google/benchmark/commit/8e48105d465c586068dd8e248fe75a8971c6ba3a Original patch by: @jschueller (Julien Schueller) ! Differential Revision: https://reviews.llvm.org/D61371 llvm-svn: 367356
Diffstat (limited to 'libcxx/utils/google-benchmark')
-rw-r--r--libcxx/utils/google-benchmark/README.LLVM4
-rw-r--r--libcxx/utils/google-benchmark/src/CMakeLists.txt2
2 files changed, 5 insertions, 1 deletions
diff --git a/libcxx/utils/google-benchmark/README.LLVM b/libcxx/utils/google-benchmark/README.LLVM
index 6b81ddf873a..05c5e3ee343 100644
--- a/libcxx/utils/google-benchmark/README.LLVM
+++ b/libcxx/utils/google-benchmark/README.LLVM
@@ -10,3 +10,7 @@ Changes:
is applied on top of
https://github.com/google/benchmark/commit/4528c76b718acc9b57956f63069c699ae21edcab
to add RISC-V timer support.
+* https://github.com/google/benchmark/commit/8e48105d465c586068dd8e248fe75a8971c6ba3a
+ is applied on top of
+ https://github.com/google/benchmark/commit/4528c76b718acc9b57956f63069c699ae21edcab
+ to fix cross-build from linux to windows via MinGW.
diff --git a/libcxx/utils/google-benchmark/src/CMakeLists.txt b/libcxx/utils/google-benchmark/src/CMakeLists.txt
index 977474f43f2..7a77fdf41de 100644
--- a/libcxx/utils/google-benchmark/src/CMakeLists.txt
+++ b/libcxx/utils/google-benchmark/src/CMakeLists.txt
@@ -35,7 +35,7 @@ endif()
# We need extra libraries on Windows
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
- target_link_libraries(benchmark Shlwapi)
+ target_link_libraries(benchmark shlwapi)
endif()
# We need extra libraries on Solaris
OpenPOWER on IntegriCloud