Fix crossbuild
This commit is contained in:
parent
85a9fe184f
commit
89008c734c
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
# This script was automatically generated by ACR v0.9.2
|
||||
# This script was automatically generated by ACR v0.9.4
|
||||
# @author: pancake <youterm.com>
|
||||
# @url: http://www.nopcode.org
|
||||
# @repo: hg clone http://hg.youterm.com/acr
|
||||
|
@ -36,7 +36,7 @@ while : ; do
|
|||
ENVWORDS="${ENVWORDS} $1_CPU $1_OS"
|
||||
STR=`eval "echo ${S}$1"`
|
||||
SPLIT_CPU="`echo "$STR" | cut -d - -f 1`"
|
||||
SPLIT_OS="`echo "$STR" | awk -F - '{if(NF==4){print $4}else{print $3}}'`"
|
||||
SPLIT_OS="`echo "$STR" | awk -F - '{if(NF==4){print $4}else{print $2}}'`"
|
||||
eval "$1_CPU=\"$SPLIT_CPU\""
|
||||
eval "$1_OS=\"$SPLIT_OS\""
|
||||
shift
|
||||
|
@ -190,7 +190,7 @@ take_environ() {
|
|||
}
|
||||
|
||||
show_version() {
|
||||
echo "radare2-0.9.5git configuration script done with acr v0.9.2.
|
||||
echo "radare2-0.9.5git configuration script done with acr v0.9.4.
|
||||
The 'Free Software Foundation' message is only for autodetection.
|
||||
Originally written by pancake <youterm.com>."
|
||||
exit 0
|
||||
|
|
|
@ -39,7 +39,7 @@ clean:
|
|||
${SDB}:
|
||||
cp -rf $(LTOP)/db/sdb/src $(LTOP)/db/sdb/src-native
|
||||
#cd $(LTOP)/db/sdb/src-native && ${MAKE} -j ${MAKE_JOBS} ARCH=xxx CC=gcc clean sdb
|
||||
cd $(LTOP)/db/sdb/src-native && ${MAKE} -j 1 ARCH=xxx CC=gcc clean sdb
|
||||
cd $(LTOP)/db/sdb/src-native && CFLAGS='' ${MAKE} -j 1 ARCH=xxx CC=gcc clean sdb
|
||||
cp -f $(LTOP)/db/sdb/src-native/sdb $(LTOP)/db/sdb/sdb
|
||||
rm -rf $(LTOP)/db/sdb/src-native
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
# This script was automatically generated by ACR v0.9.2
|
||||
# This script was automatically generated by ACR v0.9.4
|
||||
# @author: pancake <youterm.com>
|
||||
# @url: http://www.nopcode.org
|
||||
# @repo: hg clone http://hg.youterm.com/acr
|
||||
|
@ -27,8 +27,7 @@ while : ; do
|
|||
ENVWORDS="${ENVWORDS} $1_CPU $1_OS"
|
||||
STR=`eval "echo ${S}$1"`
|
||||
SPLIT_CPU="`echo "$STR" | cut -d - -f 1`"
|
||||
SPLIT_OS="`echo "$STR" | awk -F - '{if(NF==3){print $2}else{print $3}}'`"
|
||||
|
||||
SPLIT_OS="`echo "$STR" | awk -F - '{if(NF==4){print $4}else{print $2}}'`"
|
||||
eval "$1_CPU=\"$SPLIT_CPU\""
|
||||
eval "$1_OS=\"$SPLIT_OS\""
|
||||
shift
|
||||
|
@ -177,7 +176,7 @@ take_environ() {
|
|||
}
|
||||
|
||||
show_version() {
|
||||
echo "radare2-bindings-0.9.5git configuration script done with acr v0.9.2.
|
||||
echo "radare2-bindings-0.9.5git configuration script done with acr v0.9.4.
|
||||
The 'Free Software Foundation' message is only for autodetection.
|
||||
Originally written by pancake <youterm.com>."
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue