Commit 7aeec890 authored by Bernhard Landauer's avatar Bernhard Landauer
Browse files

quote config entries

parent 4ead0d71
......@@ -124,12 +124,12 @@ EOF
done
if [[ ${MULTILIB} = true ]]; then
CARCH="i686"
CHOST="i686-unknown-linux-gnu"
CFLAGS="-m32 -march=i686 -mtune=generic -O2 -pipe"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-m32 -Wl,-O1,--sort-common,--as-needed,-z,relro"
for x in CARCH=${CARCH} CHOST=${CHOST} CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} LDFLAGS=${LDFLAGS}
CARCH="\"i686\""
CHOST="\"i686-unknown-linux-gnu\""
CFLAGS="\"-m32 -march=i686 -mtune=generic -O2 -pipe\""
CXXFLAGS='"${CFLAGS}"'
LDFLAGS="\"-m32 -Wl,-O1,--sort-common,--as-needed,-z,relro\""
for x in "CARCH=${CARCH}" "CHOST=${CHOST}" "CFLAGS=${CFLAGS}" "CXXFLAGS=${CXXFLAGS}" "LDFLAGS=${LDFLAGS}"
do
grep -q "^$x" "$1/${MP_CONF_GLOB}" && continue
echo "$x" >>"$1/${MP_CONF_GLOB}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment