commit 06301b7a50109c024048ad66c34e670518e08591
parent 7e5ca5e99f9e8d3f45f1768abc7446f665f4eb23
Author: sin <sin@2f30.org>
Date: Wed, 5 Mar 2014 16:55:23 +0000
Use $CFLAGS and $LDFLAGS for man, tinywm and xsetroot
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git 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
@@ -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
@@ -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"