diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-07-17 13:11:53 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-07-17 13:11:53 +0000 |
commit | 524ce52adb7bbcf127251ef4f021f0bf7cb3611e (patch) | |
tree | 8142b4a8a9e40a874d6407375a677161a9ac1af8 /sub/busybox | |
parent | 24eb8b504f62c04ed103d25e27190bdf35fad9dc (diff) | |
download | lh-bootstrap-524ce52adb7bbcf127251ef4f021f0bf7cb3611e.tar.xz |
make bbsuid static
Diffstat (limited to 'sub/busybox')
-rw-r--r-- | sub/busybox/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/busybox/Makefile b/sub/busybox/Makefile index 7cc255c..69d3d53 100644 --- a/sub/busybox/Makefile +++ b/sub/busybox/Makefile @@ -67,7 +67,7 @@ $(OUTPUT)/build-host/bbsuid.c: sub/busybox/SUIDLIST sub/busybox/bbsuid-header su exec setuidgid $(NORMALUSER) redirfd -w 1 $@ foreground cat sub/busybox/bbsuid-header "" foreground sed s/.*/\"\&\",/ sub/busybox/SUIDLIST "" cat sub/busybox/bbsuid-footer $(OUTPUT)/build-host/bbsuid: $(OUTPUT)/build-host/bbsuid.c $(OUTPUT)/build-host/bin/muslgcc $(OUTPUT)/build-host/.lh_skalibs_installed - exec setuidgid $(NORMALUSER) muslgcc -o $@ -I $(OUTPUT)/rootfs/package/prog/skalibs/include -L $(OUTPUT)/rootfs/package/prog/skalibs/library $(OUTPUT)/build-host/bbsuid.c -lskarnet + exec setuidgid $(NORMALUSER) muslgcc -static -o $@ -I $(OUTPUT)/rootfs/package/prog/skalibs/include -L $(OUTPUT)/rootfs/package/prog/skalibs/library $(OUTPUT)/build-host/bbsuid.c -lskarnet $(OUTPUT)/build-host/.lh_bbsuid_installed: sub/busybox/SUIDLIST $(OUTPUT)/build-host/bbsuid $(OUTPUT)/build-host/.lh_bb_installed | $(OUTPUT)/tmp/.lh_prepared $(OUTPUT)/build-build/.lh_skarnet_installed exec sub/busybox/install-bbsuid $(OUTPUT) sub/busybox/SUIDLIST |