commit afa43144696fd8d179fa273dbf959ab36469bef7
parent 19e8daa0ef33a9d76603d5b1d68350152c99c4cb
Author: sin <sin@2f30.org>
Date: Sun, 2 Mar 2014 20:10:21 +0000
No need to set CFLAGS/LDFLAGS explicitly
They are exported in the environment.
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkgs/9base b/pkgs/9base
@@ -6,12 +6,12 @@ build: crossmusl
make clean
for t in lib9 yacc; do
cd $t
- make CC=$CC LDFLAGS="$LDFLAGS"
+ make CC=$CC
cd ..
done
for t in $targets; do
cd $t
- make CC=$CC LDFLAGS="$LDFLAGS"
+ make CC=$CC
cp $t $root/bin/
cd ..
done
diff --git a/pkgs/busybox b/pkgs/busybox
@@ -4,7 +4,7 @@ url="http://www.busybox.net/downloads/busybox-$v.tar.bz2"
build: crossmusl
cd src/busybox-$v
cp $top/stuff/busybox.config .config
- make CC=$CC LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS" busybox
+ make CC=$CC busybox
cp busybox "${root}/bin"
cd "${root}/bin"
ln -sf busybox addgroup