mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
Fix portability issues discovered with fresh snap install.
ARCH=native fixes SIGILL issues on other amd64 processors. Static library dependencies where supported. Package libunbound2 in the snap.
This commit is contained in:
parent
0a56d83d3d
commit
823843eadb
3 changed files with 11 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
export LD_LIBRARY_PATH=${SNAP_LIBRARY_PATH}:${SNAP}/usr/lib/x86_64-linux-gnu
|
||||||
export HOME=${SNAP_DATA}
|
export HOME=${SNAP_DATA}
|
||||||
cd ${SNAP_DATA}
|
cd ${SNAP_DATA}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
export LD_LIBRARY_PATH=${SNAP_LIBRARY_PATH}:${SNAP}/usr/lib/x86_64-linux-gnu
|
||||||
export HOME=${SNAP_USER_DATA}
|
export HOME=${SNAP_USER_DATA}
|
||||||
cd ${SNAP_USER_DATA}
|
cd ${SNAP_USER_DATA}
|
||||||
|
|
||||||
|
|
|
@ -42,6 +42,12 @@ parts:
|
||||||
|
|
||||||
cmake-build:
|
cmake-build:
|
||||||
plugin: cmake
|
plugin: cmake
|
||||||
|
configflags:
|
||||||
|
- -DBDB_STATIC=1
|
||||||
|
- -DUPNP_STATIC=1
|
||||||
|
- -DBoost_USE_STATIC_LIBS=1
|
||||||
|
- -DBoost_USE_STATIC_RUNTIME=1
|
||||||
|
- -DARCH=default
|
||||||
source: .
|
source: .
|
||||||
build-packages:
|
build-packages:
|
||||||
- gcc
|
- gcc
|
||||||
|
@ -58,5 +64,8 @@ parts:
|
||||||
- bison
|
- bison
|
||||||
- doxygen
|
- doxygen
|
||||||
- graphviz
|
- graphviz
|
||||||
|
stage-packages:
|
||||||
|
- libunbound2
|
||||||
snap:
|
snap:
|
||||||
- bin
|
- bin
|
||||||
|
- usr
|
||||||
|
|
Loading…
Reference in a new issue