mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 10:58:33 +00:00
Use $CFLAGS and $LDFLAGS for man, tinywm and xsetroot
This commit is contained in:
parent
7e5ca5e99f
commit
06301b7a50
2
pkgs/man
2
pkgs/man
@ -2,5 +2,5 @@ url="$mirror/man.tar.gz"
|
|||||||
|
|
||||||
build: crossmusl
|
build: crossmusl
|
||||||
cd src/man
|
cd src/man
|
||||||
$CC -std=gnu99 -o man man.c -static
|
$CC -std=gnu99 -o man man.c $CFLAGS $LDFLAGS
|
||||||
cp man "$root/bin"
|
cp man "$root/bin"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
build: tinyxlib
|
build: tinyxlib
|
||||||
cd stuff
|
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"
|
cp tinywm "$root/bin"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
build: tinyxlib
|
build: tinyxlib
|
||||||
cd stuff
|
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"
|
cp xsetroot "$root/bin"
|
||||||
|
Loading…
Reference in New Issue
Block a user