Files
unshield/armv7l-fpic.patch
Martin Pluskal 601ac6d057 - Update to version 1.4.2:
* exit run-tests.sh with non-zero if there were failed tests
- Changes for 1.4.1:
  * Security and distro fixes
- Changes for 1.4.0:
  * Including fix for CVE-2015-1386 (boo#915181)
- Drop upstreamed patch:
  * libconvert_utf_static.patch
- Some packaging cleanups

OBS-URL: https://build.opensuse.org/package/show/Archiving/unshield?expand=0&rev=19
2017-05-11 09:02:44 +00:00

15 lines
452 B
Diff

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -51,6 +51,9 @@ if (${OPENSSL_FOUND})
else()
option(USE_OUR_OWN_MD5 "Build using own md5 implementation" ON)
endif()
+if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "armv7l")
+ add_definitions(-fPIC)
+endif()
message(STATUS "OPENSSL_FOUND: ${OPENSSL_FOUND}")
message(STATUS "USE_OUR_OWN_MD5: ${USE_OUR_OWN_MD5}")