Unverified Commit bc0468d6 authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

premake: support structuredAttrs in setup hook

Tested gmad with and without __structuredAttrs.

Building it succeeded on master with structuredAttrs, but the log output
showed that the configure flags were not passed correctly previously.
parent 5c740315
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3,9 +3,8 @@ premakeConfigurePhase() {

    local flagsArray=(
        ${premakefile:+--file=$premakefile}
        $premakeFlags ${premakeFlagsArray[@]}
        ${premakeBackend:-gmake}
    )
    concatTo flagsArray premakeFlags premakeFlagsArray premakeBackend=gmake

    echoCmd 'configure flags' "${flagsArray[@]}"