mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-21 20:56:19 +00:00
352a790d2f
QtWebKit is unmaintained and insecure with multiple remote code execution vulnerabilities - see: https://blogs.gnome.org/mcatanzaro/2022/11/04/stop-using-qtwebkit/
16 lines
648 B
Diff
16 lines
648 B
Diff
Since ICU 75, ICU C++ headers need at least C++17 to compile as it
|
|
uses `std::enable_if_t` (introduced in C++14) and `std::is_same_v`
|
|
(introduced in C++17).
|
|
|
|
--- a/Source/cmake/OptionsCommon.cmake
|
|
+++ b/Source/cmake/OptionsCommon.cmake
|
|
@@ -31,7 +31,7 @@
|
|
if (COMPILER_IS_GCC_OR_CLANG)
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-exceptions -fno-strict-aliasing")
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions -fno-strict-aliasing -fno-rtti")
|
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
|
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
|
|
endif ()
|
|
|
|
if (COMPILER_IS_CLANG AND CMAKE_GENERATOR STREQUAL "Ninja")
|