diff options
Diffstat (limited to 'scripts/genconfig.sh')
-rwxr-xr-x | scripts/genconfig.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh index 1911efc6..30c7eba1 100755 --- a/scripts/genconfig.sh +++ b/scripts/genconfig.sh @@ -6,12 +6,14 @@ mkdir -p generated OUTFILE=generated/Config.in +source configure + genconfig() { # Probe for container support on target echo -e "# container support\nconfig TOYBOX_CONTAINER\n\tbool" || return 1 - $CC -c -xc -o /dev/null - 2>/dev/null << EOF + $CC -c -xc -o /dev/null - << EOF #include <sched.h> int x=CLONE_NEWNS|CLONE_NEWUTS|CLONE_NEWIPC|CLONE_NEWNET; EOF |