linux: fix cross from GNU
This commit is contained in:
parent
1f6f51b9be
commit
7a2d99e044
1 changed files with 2 additions and 2 deletions
|
@ -25,12 +25,12 @@ fi
|
|||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
bad --gmake gmake CC=cc HOSTCC=cc YACC=yacc LLVM=1 LLVM_IAS=1 ARCH=$_arch olddefconfig
|
||||
bad --gmake gmake CC=clang HOSTCC=clang YACC=yacc LLVM=1 LLVM_IAS=1 ARCH=$_arch olddefconfig
|
||||
sed -i 's/CONFIG_UNWINDER_ORC=y/# CONFIG_UNWINDER_ORC is not set/g' .config
|
||||
sed -i 's/# CONFIG_UNWINDER_FRAME_POINTER is not set/CONFIG_UNWINDER_FRAME_POINTER=y/g' .config
|
||||
|
||||
if [ -z "$FOR_CROSS" ]; then
|
||||
bad --gmake gmake CC=cc HOSTCC=cc YACC=yacc LLVM=1 LLVM_IAS=1 ARCH=$_arch
|
||||
bad --gmake gmake CC=clang HOSTCC=clang YACC=yacc LLVM=1 LLVM_IAS=1 ARCH=$_arch
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue