summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2024-02-17 19:50:56 +0100
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2024-02-17 22:31:26 +0100
commit1a0d77e21260097a81b62b49578b5325f90b8455 (patch)
tree9906f2b12d5ebfef99ecd0dc28ffbedf8983fc06 /Makefile
parenta61bd154098bc38ca8cdc4e5c1f8a482c4a5fadb (diff)
woodpecker linux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b0e1a8c..aa172e2 100644
--- a/Makefile
+++ b/Makefile
@@ -50,8 +50,11 @@ download:
.PHONY: host_depends
-host_depends: libiconv_host boost_host zlib_host openssl_host libzmq_host libsodium_host libsodium_host libexpat_host unbound_host polyseed_host utf8proc_host
- cp -a ${PREFIX}/lib64/* ${PREFIX}/lib # fix linking issue
+host_depends: libiconv_host boost_host zlib_host openssl_host libzmq_host libsodium_host libexpat_host host_copy_libs unbound_host polyseed_host utf8proc_host
+
+.PHONY: host_copy_libs
+host_copy_libs:
+ cp -a ${PREFIX}/lib64/* ${PREFIX}/lib # fix linking issue (openssl?)
.PHONY: libiconv_host
libiconv_host:
@@ -107,6 +110,7 @@ unbound_host:
.PHONY: polyseed_host
polyseed_host:
+ cd polyseed && rm -rf ./CMakeCache.txt ./CMakeFiles/
cd polyseed && cmake -DCMAKE_INSTALL_PREFIX=${PREFIX} .
cd polyseed && make -j${NPROC}
cd polyseed && make install
@@ -123,6 +127,7 @@ utf8proc_host:
.PHONY: monero_linux_amd64
monero_linux_amd64:
cd monero \
+ && rm -rf build/release \
&& mkdir -p build/release \
&& cd build/release \
&& env CMAKE_INCLUDE_PATH="${PREFIX}/include" CMAKE_LIBRARY_PATH="${PREFIX}/lib" USE_SINGLE_BUILDDIR=1 cmake -D USE_DEVICE_TREZOR=OFF -D BUILD_GUI_DEPS=1 -D BUILD_TESTS=OFF -D ARCH="x86-64" -D STATIC=ON -D BUILD_64="ON" -D CMAKE_BUILD_TYPE=release -D ANDROID=false -D BUILD_TAG="linux-x86_64" -D CMAKE_SYSTEM_NAME="Linux" ../..