diff --git a/CMakeLists.txt b/CMakeLists.txt index 40c139d7f..024c1039b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,6 +114,7 @@ endif() if(NOT DEBIAN) if(NOT ANDROID) +if(NOT RPI) if (NOT USE_AVX2) set(CRYPTO_FLAGS -march=core2 -mtune=native) set(CMAKE_ASM_FLAGS "-march=core2") @@ -123,6 +124,7 @@ set(CMAKE_ASM_FLAGS "-march=haswell -mtune=native ${CMAKE_ASM_FLAGS} $ENV{ASFLAG endif() endif() endif() +endif() if(RPI) add_definitions(-DRPI) diff --git a/lokinet-bootstrap b/lokinet-bootstrap old mode 100644 new mode 100755 index 701608ae9..b92856a25 --- a/lokinet-bootstrap +++ b/lokinet-bootstrap @@ -4,4 +4,7 @@ if [ "X$1" = "X" ] ; then url="https://i2p.rocks/i2procks.signed" ; else url="$1" ; fi echo "downloading $url" -wget -O $HOME/.lokinet/bootstrap.signed "$url" || echo "failed to download bootstrap from $url" \ No newline at end of file +if [ ! -d $HOME/.lokinet/]; then + mkdir $HOME/.lokinet +fi +wget -O $HOME/.lokinet/bootstrap.signed "$url" || echo "failed to download bootstrap from $url"