Commit 4f0ddbfc authored by jan.koester's avatar jan.koester
Browse files

test

parent f7854bdd
Loading
Loading
Loading
Loading
+9 −0
Changes for main.cpp: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -57,6 +57,15 @@ static void setup_defaults(makeplus::Makefile& mf, const char* argv0) {
    set_default("SHELL", "/bin/sh");
    set_default(".SHELLFLAGS", "-c");
    set_default("CURDIR", fs::current_path().string());
    // Advertise GNU-make compatibility so feature-gated build systems (Kbuild)
    // accept us. MAKE_VERSION must be >= 4.0; .FEATURES lists the capabilities
    // makeplus implements.
    set_default("MAKE_VERSION", "4.4");
    set_default("MAKE_HOST", "x86_64-pc-linux-gnu");
    set_default(".FEATURES",
                "target-specific order-only second-expansion else-if "
                "shortest-stem undefine oneshell archives jobserver "
                "output-sync check-symlink");

    // Import environment variables (lower priority than file variables)
    for (char** env = environ; *env; ++env) {