aboutsummaryrefslogtreecommitdiff
path: root/snapcraft.yaml
diff options
context:
space:
mode:
authorCasey Marshall <casey.marshall@canonical.com>2016-09-11 18:14:38 -0500
committerCasey Marshall <casey.marshall@canonical.com>2016-09-11 18:14:38 -0500
commit823843eadb38ab84cac55d260c9394565af2a3dd (patch)
tree4eb050b586cad3aace6fd6bdf5893cd19306b632 /snapcraft.yaml
parentAdd snap packaging. (diff)
downloadmonero-823843eadb38ab84cac55d260c9394565af2a3dd.tar.xz
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.
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 89004f62d..203789413 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -42,6 +42,12 @@ parts:
cmake-build:
plugin: cmake
+ configflags:
+ - -DBDB_STATIC=1
+ - -DUPNP_STATIC=1
+ - -DBoost_USE_STATIC_LIBS=1
+ - -DBoost_USE_STATIC_RUNTIME=1
+ - -DARCH=default
source: .
build-packages:
- gcc
@@ -58,5 +64,8 @@ parts:
- bison
- doxygen
- graphviz
+ stage-packages:
+ - libunbound2
snap:
- bin
+ - usr