Reverting to commit dd9be59e4 or current origin/dev branch
This commit is contained in:
2
AUTHORS
2
AUTHORS
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Duke Leto https://git.hush.is/duke https://github.com/leto
|
Duke Leto https://git.hush.is/duke https://github.com/leto
|
||||||
Miodrag https://github.com/miodragpop
|
Miodrag https://github.com/miodragpop
|
||||||
jahway603 https://git.hush.is/jahway603 https://codeberg.org/jahway603 https://github.com/jahway603
|
jahway603 https://git.hush.is/jahway603 https://github.com/jahway603
|
||||||
|
|
||||||
# The SuperNET Developers
|
# The SuperNET Developers
|
||||||
|
|
||||||
|
|||||||
6
build.sh
6
build.sh
@@ -7,13 +7,13 @@ set -eu -o pipefail
|
|||||||
|
|
||||||
# run correct build script for detected OS
|
# run correct build script for detected OS
|
||||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||||
MAKE=make ./util/build.sh --disable-tests $@
|
./util/build.sh --disable-tests $@
|
||||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
./util/build-mac.sh --disable-tests $@
|
./util/build-mac.sh --disable-tests $@
|
||||||
elif [[ "$OSTYPE" == "msys"* ]]; then
|
elif [[ "$OSTYPE" == "msys"* ]]; then
|
||||||
./util/build-win.sh --disable-tests $@
|
./util/build-win.sh --disable-tests $@
|
||||||
elif [[ "$OSTYPE" == "freebsd"* ]]; then
|
#elif [[ "$OSTYPE" == "freebsd"* ]]; then
|
||||||
MAKE=gmake ./util/build.sh --disable-tests $@
|
# placeholder
|
||||||
else
|
else
|
||||||
echo "Unable to detect your OS. What are you using?"
|
echo "Unable to detect your OS. What are you using?"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ $(package)_sha256_hash=58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba514
|
|||||||
define $(package)_set_vars
|
define $(package)_set_vars
|
||||||
$(package)_cxxflags+=-std=c++11
|
$(package)_cxxflags+=-std=c++11
|
||||||
$(package)_cxxflags_linux=-fPIC
|
$(package)_cxxflags_linux=-fPIC
|
||||||
$(package)_cxxflags_freebsd=-fPIC
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(build_os),darwin)
|
ifeq ($(build_os),darwin)
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ $(package)_download_path=https://curl.haxx.se/download
|
|||||||
$(package)_file_name=curl-$($(package)_version).tar.gz
|
$(package)_file_name=curl-$($(package)_version).tar.gz
|
||||||
$(package)_sha256_hash=b0a3428acb60fa59044c4d0baae4e4fc09ae9af1d8a3aa84b2e3fbcd99841f77
|
$(package)_sha256_hash=b0a3428acb60fa59044c4d0baae4e4fc09ae9af1d8a3aa84b2e3fbcd99841f77
|
||||||
$(package)_config_opts_linux=--disable-shared --enable-static --with-wolfssl --without-ssl --prefix=$(host_prefix) --host=$(host)
|
$(package)_config_opts_linux=--disable-shared --enable-static --with-wolfssl --without-ssl --prefix=$(host_prefix) --host=$(host)
|
||||||
$(package)_config_opts_freebsd=--disable-shared --enable-static --with-wolfssl --without-ssl --prefix=$(host_prefix) --host=$(host)
|
|
||||||
$(package)_config_opts_mingw32=--enable-mingw --disable-shared --enable-static --with-wolfssl --without-ssl --prefix=$(host_prefix) --host=x86_64-w64-mingw32
|
$(package)_config_opts_mingw32=--enable-mingw --disable-shared --enable-static --with-wolfssl --without-ssl --prefix=$(host_prefix) --host=x86_64-w64-mingw32
|
||||||
$(package)_config_opts_darwin=--disable-shared --enable-static --with-wolfssl --without-ssl --prefix=$(host_prefix)
|
$(package)_config_opts_darwin=--disable-shared --enable-static --with-wolfssl --without-ssl --prefix=$(host_prefix)
|
||||||
$(package)_cflags_darwin=-mmacosx-version-min=10.9
|
$(package)_cflags_darwin=-mmacosx-version-min=10.9
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ define $(package)_set_vars
|
|||||||
$(package)_config_opts=--disable-shared --disable-openssl --disable-libevent-regress
|
$(package)_config_opts=--disable-shared --disable-openssl --disable-libevent-regress
|
||||||
$(package)_config_opts_release=--disable-debug-mode
|
$(package)_config_opts_release=--disable-debug-mode
|
||||||
$(package)_config_opts_linux=--with-pic
|
$(package)_config_opts_linux=--with-pic
|
||||||
$(package)_config_opts_freebsd=--with-pic
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_config_cmds
|
define $(package)_config_cmds
|
||||||
|
|||||||
@@ -7,10 +7,6 @@ $(package)_file_name_darwin=rust-$($(package)_version)-x86_64-apple-darwin.tar.g
|
|||||||
$(package)_sha256_hash_darwin=f0dfba507192f9b5c330b5984ba71d57d434475f3d62bd44a39201e36fa76304
|
$(package)_sha256_hash_darwin=f0dfba507192f9b5c330b5984ba71d57d434475f3d62bd44a39201e36fa76304
|
||||||
$(package)_file_name_mingw32=rust-$($(package)_version)-x86_64-pc-windows-gnu.tar.gz
|
$(package)_file_name_mingw32=rust-$($(package)_version)-x86_64-pc-windows-gnu.tar.gz
|
||||||
$(package)_sha256_hash_mingw32=358e1435347c67dbf33aa9cad6fe501a833d6633ed5d5aa1863d5dffa0349be9
|
$(package)_sha256_hash_mingw32=358e1435347c67dbf33aa9cad6fe501a833d6633ed5d5aa1863d5dffa0349be9
|
||||||
$(package)_file_name_freebsd=rust-$($(package)_version)-x86_64-unknown-freebsd.tar.gz
|
|
||||||
$(package)_sha256_hash_freebsd=20d062493d01f1816014fe9dbe883bda06f1828a6ddbfb7ee5e4f1df20eb1c3a
|
|
||||||
$(package)_file_name_aarch64_linux=rust-$($(package)_version)-aarch64-unknown-linux-gnu.tar.gz
|
|
||||||
$(package)_sha256_hash_aarch64_linux=60def40961728212da4b3a9767d5a2ddb748400e150a5f8a6d5aa0e1b8ba1cee
|
|
||||||
|
|
||||||
# Mapping from GCC canonical hosts to Rust targets
|
# Mapping from GCC canonical hosts to Rust targets
|
||||||
# If a mapping is not present, we assume they are identical, unless $host_os is
|
# If a mapping is not present, we assume they are identical, unless $host_os is
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if HOST="$HOST" $MAKE -B -f Makefile_custom "$@"; then
|
if HOST="$HOST" make -B -f Makefile_custom "$@"; then
|
||||||
echo CUSTOMCC BUILD SUCCESSFUL
|
echo CUSTOMCC BUILD SUCCESSFUL
|
||||||
else
|
else
|
||||||
echo CUSTOMCC BUILD FAILED
|
echo CUSTOMCC BUILD FAILED
|
||||||
|
|||||||
Reference in New Issue
Block a user