mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
31 lines
713 B
Bash
Executable File
31 lines
713 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options
|
|
|
|
$SCRIPTS/build toolchain
|
|
$SCRIPTS/build libogg
|
|
|
|
# ensure we dont use size optimization.
|
|
CFLAGS=`echo $CFLAGS | sed -e "s|-Os|-O3|"`
|
|
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-Os|-O3|"`
|
|
|
|
cd $PKG_BUILD
|
|
./configure --host=$TARGET_NAME \
|
|
--build=$HOST_NAME \
|
|
--prefix=/usr \
|
|
--disable-static \
|
|
--enable-shared \
|
|
--disable-rpath \
|
|
--with-gnu-ld \
|
|
--disable-altivec \
|
|
--disable-doxygen-docs \
|
|
--disable-thorough-tests \
|
|
--disable-cpplibs \
|
|
--disable-xmms-plugin \
|
|
--disable-oggtest \
|
|
--with-ogg=$SYSROOT_PREFIX/usr
|
|
|
|
make
|
|
|
|
$MAKEINSTALL
|