midipix-cross: fix gcc and musl builds

This commit is contained in:
Martell Malone
2015-08-03 19:37:36 +01:00
parent 337a0a8537
commit afcb989a7f
2 changed files with 5 additions and 7 deletions

View File

@@ -109,14 +109,12 @@ build() {
--enable-secureplt \
--enable-debug \
--disable-bootstrap \
--with-system-zlib \
CFLAGS="-O2 -pipe" \
CXXFALGS="-O2 -pipe"
--with-system-zlib
#stage 1
make all-gcc
#stage 2
#make all-target-libgcc
make all-target-libgcc
#stage 3
#make
done
@@ -128,7 +126,7 @@ package() {
#stage1
make -j1 DESTDIR=${pkgdir} install-gcc
#stage2
#make -j1 DESTDIR=${pkgdir} all-target-libgcc
make -j1 DESTDIR=${pkgdir} install-target-libgcc
#stage3
#make -j1 DESTDIR=${pkgdir} install
for _f in ${pkgdir}/opt/bin/*.exe; do

View File

@@ -61,8 +61,8 @@ package() {
cd ${srcdir}/build-$(arch)
for _target in ${_targets}; do
#stage 1
./lazy -x build -e install_no_complex
#./lazy -x build -e install_no_complex
#stage 2
#./lazy -x build -e install
PATH=/opt/bin:$PATH ./lazy -x build -e install
done
}