fix loong64 build error
This commit is contained in:
parent
460f2e9d1c
commit
4afd3c76ef
|
@ -1,3 +1,12 @@
|
|||
.. image:: https://github.com/Legrandin/pycryptodome/workflows/Integration%20test/badge.svg?branch=master
|
||||
:target: https://github.com/Legrandin/pycryptodome/actions
|
||||
|
||||
.. image:: https://badge.fury.io/py/pycryptodome.svg
|
||||
:target: https://pypi.org/project/pycryptodome
|
||||
|
||||
.. image:: https://badge.fury.io/py/pycryptodomex.svg
|
||||
:target: https://pypi.org/project/pycryptodomex
|
||||
|
||||
PyCryptodome
|
||||
============
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
pycryptodome (3.20.0+dfsg-ok4) nile; urgency=medium
|
||||
|
||||
* fix loong64 build error
|
||||
|
||||
-- liyang <liyang01@kylinos.cn> Wed, 14 Aug 2024 14:28:53 +0800
|
||||
|
||||
pycryptodome (3.20.0+dfsg-ok3) nile; urgency=medium
|
||||
|
||||
* fix loong64 build error
|
||||
|
|
|
@ -53,9 +53,11 @@ else()
|
|||
add_compile_options(-mstackrealign)
|
||||
endif()
|
||||
endif()
|
||||
add_compile_options(-fsanitize=undefined -fsanitize=address)
|
||||
link_libraries(-lubsan)
|
||||
add_link_options(-fsanitize=address)
|
||||
if (DEB_HOST_ARCH MATCHES "amd64|arm64|armel|armhf|i386|ppc64|ppc64el|riscv64|s390x|sparc64|x32")
|
||||
add_compile_options(-fsanitize=undefined -fsanitize=address)
|
||||
add_link_options(-fsanitize=undefined -fsanitize=address)
|
||||
link_libraries(-latomic)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
|
|
Loading…
Reference in New Issue