morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

commit 9e0fc902abb3316d37eb21891300a5e6121b720d
parent 821298947e9888f8472c202f1b7676a5c9291cfe
Author: sin <sin@2f30.org>
Date:   Wed, 25 Sep 2013 14:33:33 +0100

Set correct libcroot

Diffstat:
Mpkgs/dropbear | 3+--
Mpkgs/tmux | 4+---
Mprepare-env | 4++--
3 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/pkgs/dropbear b/pkgs/dropbear @@ -12,8 +12,7 @@ unpack() { build() { pushd src/dropbear-2013.56 - CC=x86_64-linux-musl-gcc ./configure CFLAGS="-I$libcroot/include" \ - LDFLAGS="-static -L$libcroot/lib" --prefix=$root || return 1 + CC=x86_64-linux-musl-gcc ./configure LDFLAGS=-static --prefix=$root || return 1 for i in UTMP WTMP PUTUTLINE PUTUTXLINE SYSLOG LASTLOG; do echo "#define DISABLE_$i" >> config.h done diff --git a/pkgs/tmux b/pkgs/tmux @@ -12,9 +12,7 @@ unpack() { build() { pushd src/tmux-1.8 - CC=x86_64-linux-musl-gcc ./configure --prefix=$root \ - CFLAGS="-I$libcroot/include -I$libcroot/include/ncurses" \ - LDFLAGS="-static -L$libcroot/lib" || return 1 + CC=x86_64-linux-musl-gcc ./configure --prefix=$root LDFLAGS=-static || return 1 make -j$nprocs || return 1 popd } diff --git a/prepare-env b/prepare-env @@ -1,11 +1,11 @@ top=$(pwd) root=$top/root -libcroot=$top/cross/x86_64-linux-musl +libcroot=$top/cross/x86_64-linux-musl/x86_64-linux-musl nprocs=4 arch=x86_64 version=0.0 mirror=http://dl.2f30.org/morpheus-pkgs/$arch/$version export top root libcroot nprocs mirror -PATH=$libcroot/bin:$PATH +PATH=$top/cross/x86_64-linux-musl/bin:$PATH export PATH