void-packages/srcpkgs/qt6-pdf/patches/1000-we-know-what-will-be-s...

23 lines
783 B
Diff

--- a/src/host/CMakeLists.txt
+++ b/src/host/CMakeLists.txt
@@ -50,19 +50,3 @@ if(QT_FEATURE_qtpdf_build)
DESTINATION ${WEBENGINE_ROOT_BUILD_DIR}/src/pdf/v8_toolchain
)
endif()
-
-# TODO: this could be run as part of main configure with execute_process
-# Skip for qtpdf(android)
-
-if(CMAKE_CXX_COMPILER_ID STREQUAL GNU AND TEST_architecture_arch STREQUAL "x86_64"
- AND GN_TARGET_CPU STREQUAL "arm" AND NOT MINGW AND NOT ANDROID)
- try_compile(
- has32HostCompiler
- "${CMAKE_CURRENT_BINARY_DIR}/config.tests/hostcompiler"
- "${CMAKE_CURRENT_SOURCE_DIR}/config.tests/hostcompiler"
- hostcompiler
- )
- if(NOT has32HostCompiler)
- MESSAGE(FATAL_ERROR "Compiler does not support 32bit compilation")
- endif()
-endif()