0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-27 06:14:56 +00:00
Files
termux-packages/packages/monero/CMakeLists.txt.patch
2022-11-07 04:54:02 +00:00

21 lines
741 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -244,7 +244,7 @@
file(REMOVE_RECURSE "${TEST_PROJECT}")
endforeach()
endfunction()
-if (NOT (CMAKE_SYSTEM_NAME MATCHES "kOpenBSD.*|OpenBSD.*") AND NOT OSSFUZZ)
+if (NOT (CMAKE_SYSTEM_NAME MATCHES "Android|kOpenBSD.*|OpenBSD.*") AND NOT OSSFUZZ)
forbid_undefined_symbols()
endif()
@@ -993,7 +993,7 @@
endif(ARM)
# random crash on startup when asan is on if pie is enabled
- if(NOT SANITIZE AND ANDROID AND NOT BUILD_GUI_DEPS STREQUAL "ON" OR IOS)
+ if(NOT SANITIZE AND FALSE AND NOT BUILD_GUI_DEPS STREQUAL "ON" OR IOS)
#From Android 5: "only position independent executables (PIE) are supported"
message(STATUS "Enabling PIE executable")
set(PIC_FLAG "")