morpheus

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

commit 286961e70672fb76a7a7cb2bf095ec289606187c
parent 63531af433ec30d1b7009772bc19b88aeac49ad4
Author: sin <sin@2f30.org>
Date:   Sat,  1 Mar 2014 15:04:13 +0000

Make tinyxserver build for i486 as well

Diffstat:
Mpkgs/tinyxserver | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/pkgs/tinyxserver b/pkgs/tinyxserver @@ -3,7 +3,12 @@ url="$mirror/tinyxserver.tar.gz" build: tinyxlib zlib cd src/tinyxserver make clean - make -j$nprocs CC=$CC EXTRA_CFLAGS="-D_XSERVER64=1 $CFLAGS" \ + if test "$arch" = "x86_64"; then + EXTRA_CFLAGS="-D_XSERVER64=1 $CFLAGS" + else + EXTRA_CFLAGS="$CFLAGS" + fi + make -j$nprocs CC=$CC EXTRA_CFLAGS="$EXTRA_CFLAGS" \ FONTDIR="/usr/share/fonts" make DESTDIR="$root" BINDIR="/bin" install cd "$root/usr/share/fonts/misc"