aboutsummaryrefslogtreecommitdiff
path: root/projects/crossgcc
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2018-12-07 23:09:22 -0500
committerAndrew Robbins <contact@andrewrobbins.info>2018-12-07 23:09:22 -0500
commit1dda7746920453c5984a0c0748c1fe34d0f9a34b (patch)
tree80c9c65c2d1c54cf05aad1cd91b372c7efbb21dc /projects/crossgcc
parentd8cf863091ac97908bd8039ccb62c77b2ab095b0 (diff)
downloadlibrebootfr-1dda7746920453c5984a0c0748c1fe34d0f9a34b.tar.gz
librebootfr-1dda7746920453c5984a0c0748c1fe34d0f9a34b.zip
Unquote $bootstrap_flag expansion in crossgcc
If quoted and $bootstrap_flag expands to an empty string, make interprets it as an invalid file name and errors out.
Diffstat (limited to 'projects/crossgcc')
-rwxr-xr-xprojects/crossgcc/crossgcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/crossgcc/crossgcc b/projects/crossgcc/crossgcc
index 46b9e3f3..1c3f33d8 100755
--- a/projects/crossgcc/crossgcc
+++ b/projects/crossgcc/crossgcc
@@ -157,7 +157,7 @@ build() {
bootstrap_flag='-b'
fi
- make -C "$sources_path" "$bootstrap_flag" CPUS="$TASKS" DEST="$build_path" "crossgcc-$arch"
+ make -C "$sources_path" $bootstrap_flag CPUS="$TASKS" DEST="$build_path" "crossgcc-$arch"
}
build_check() {