Special cjdns compile settings for BBB
This commit is contained in:
parent
d64a9624bc
commit
75b9239127
|
@ -619,6 +619,12 @@ function install_cjdns {
|
|||
get_cjdns_port
|
||||
get_cjdns_password
|
||||
|
||||
# special compile settings for running ./do on the Beaglebone Black
|
||||
if [[ $INSTALLING_ON_BBB == "yes" ]]; then
|
||||
CFLAGS="-O2 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -ffast-math -mfloat-abi=hard -marm -Wno-error=maybe-uninitialized"
|
||||
export LDFLAGS="$CFLAGS"
|
||||
fi
|
||||
|
||||
if [ ! -d /etc/cjdns ]; then
|
||||
git clone https://github.com/cjdelisle/cjdns.git /etc/cjdns
|
||||
cd /etc/cjdns
|
||||
|
|
Loading…
Reference in New Issue