mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
31 lines
650 B
Bash
Executable File
31 lines
650 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options
|
|
|
|
$SCRIPTS/build toolchain
|
|
$SCRIPTS/build Python
|
|
$SCRIPTS/build dbus
|
|
$SCRIPTS/build dbus-glib
|
|
|
|
. config/options.python
|
|
|
|
# Fails to compile with GCC's link time optimization.
|
|
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
|
|
|
cd $PKG_BUILD
|
|
|
|
./configure --host=$TARGET_NAME \
|
|
--build=$HOST_NAME \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--disable-static \
|
|
--enable-shared \
|
|
--enable-thread
|
|
|
|
make
|
|
|
|
$MAKEINSTALL
|
|
|
|
$PYTHON -Wi -t $PYTHON_LIBDIR/compileall.py .
|