mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-10 13:25:25 +01:00
Fix QEMU/chroot differences in outputs for Python
This commit is contained in:
parent
42fa6c24c1
commit
d0a522113f
13 changed files with 40 additions and 13 deletions
|
|
@ -15,6 +15,7 @@ src_prepare() {
|
|||
rm Misc/Vim/python.vim
|
||||
mv Lib/plat-generic .
|
||||
rm -r Lib/plat-*
|
||||
rm -r Modules/_ctypes/libffi
|
||||
mv plat-generic Lib/
|
||||
grep generated -r . -l | grep encodings | xargs rm
|
||||
|
||||
|
|
@ -41,10 +42,15 @@ src_prepare() {
|
|||
}
|
||||
|
||||
src_configure() {
|
||||
MACHDEP=linux ac_sys_system=Linux \
|
||||
CFLAGS="-U__DATE__ -U__TIME__" \
|
||||
LDFLAGS="-L/usr/lib/musl" \
|
||||
./configure \
|
||||
--build=i386-unknown-linux-musl \
|
||||
--host=i386-unknown-linux-musl \
|
||||
--prefix="${PREFIX}" \
|
||||
--libdir="${PREFIX}/lib/musl"
|
||||
--libdir="${PREFIX}/lib/musl" \
|
||||
--with-system-ffi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue