mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
30 lines
733 B
Bash
Executable File
30 lines
733 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options
|
|
|
|
$SCRIPTS/build toolchain
|
|
|
|
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=32 -fPIC -DPIC"
|
|
|
|
cd $PKG_BUILD
|
|
|
|
./configure --host=$TARGET_NAME \
|
|
--build=$HOST_NAME \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--with-plugindir=/usr/lib \
|
|
--localstatedir=/var \
|
|
--disable-static \
|
|
--enable-shared \
|
|
--disable-python \
|
|
--disable-dependency-tracking \
|
|
--with-versioned=no \
|
|
|
|
sed -i 's/.*PKGLIBDIR.*/#define PKGLIBDIR ""/' include/config.h
|
|
|
|
$MAKE
|
|
|
|
$MAKE -C include DESTDIR=$SYSROOT_PREFIX install-data
|
|
$MAKE -C src DESTDIR=$SYSROOT_PREFIX install-exec
|
|
$MAKE -C utils DESTDIR=$SYSROOT_PREFIX install-pkgconfigDATA
|