Use $CFLAGS and $LDFLAGS for man, tinywm and xsetroot

This commit is contained in:
sin 2014-03-05 16:55:23 +00:00
parent 7e5ca5e99f
commit 06301b7a50
3 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"