Closed punchagan closed 1 year ago
Previously, OCAMLCONFIGOPTION set to something like "CC='gcc -Wa,-mbranches-within-32B' AS='as -mbranches-within-32B'" would break the builds because of the spaces in the environment variables. The build failed with the following error:
OCAMLCONFIGOPTION
"CC='gcc -Wa,-mbranches-within-32B' AS='as -mbranches-within-32B'"
configure: error: unrecognized option: `-Wa,-mbranches-within-32B''
For instance, see the build logs here.
This commit ensures that spaces inside the single quoted strings are escaped correctly and the configure step runs correctly.
Previously,
OCAMLCONFIGOPTION
set to something like"CC='gcc -Wa,-mbranches-within-32B' AS='as -mbranches-within-32B'"
would break the builds because of the spaces in the environment variables. The build failed with the following error:For instance, see the build logs here.
This commit ensures that spaces inside the single quoted strings are escaped correctly and the configure step runs correctly.