提交 1e845c78 编写于 作者: S Stefan Weil 提交者: Blue Swirl

configure: Replace bash code by standard shell code

"+=" does not work with dash and other simple /bin/sh implementations.

The new code prepends the flag while the old code either did not work
(it continued after an error message which typically was not read) or
appended the flag. That difference should not matter here.
Reported-by: NOlaf Hering <olaf@aepfle.de>
Signed-off-by: NStefan Weil <sw@weilnetz.de>
Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 cc939743
......@@ -2812,7 +2812,7 @@ int main(int argc, char **argv)
}
EOF
if ! compile_prog "" "" ; then
CFLAGS+="-march=i486"
CFLAGS="-march=i486 $CFLAGS"
fi
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册