midipix-cross: fix gcc and musl builds
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user