From 06301b7a50109c024048ad66c34e670518e08591 Mon Sep 17 00:00:00 2001 From: sin Date: Wed, 5 Mar 2014 16:55:23 +0000 Subject: [PATCH] Use $CFLAGS and $LDFLAGS for man, tinywm and xsetroot --- pkgs/man | 2 +- pkgs/tinywm | 2 +- pkgs/xsetroot | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/man b/pkgs/man index fe4d1da..30cd989 100644 --- a/pkgs/man +++ b/pkgs/man @@ -2,5 +2,5 @@ url="$mirror/man.tar.gz" build: crossmusl cd src/man - $CC -std=gnu99 -o man man.c -static + $CC -std=gnu99 -o man man.c $CFLAGS $LDFLAGS cp man "$root/bin" diff --git a/pkgs/tinywm b/pkgs/tinywm index 10de15a..0fa58e8 100644 --- a/pkgs/tinywm +++ b/pkgs/tinywm @@ -1,4 +1,4 @@ build: tinyxlib cd stuff - $CC -I"$libcroot/include" -L"$libcroot/lib" tinywm.c -o tinywm -lX11 -static + $CC tinywm.c -o tinywm -lX11 $CFLAGS $LDFLAGS cp tinywm "$root/bin" diff --git a/pkgs/xsetroot b/pkgs/xsetroot index 65ad79b..34466d3 100644 --- a/pkgs/xsetroot +++ b/pkgs/xsetroot @@ -1,4 +1,4 @@ build: tinyxlib cd stuff - $CC -I"$libcroot/include" -L"$libcroot/lib" xsetroot.c -o xsetroot -lX11 -static + $CC xsetroot.c -o xsetroot -lX11 $CFLAGS $LDFLAGS cp xsetroot "$root/bin"