On 2016-06-27, Patrik Lundin <pat...@sigterm.se> wrote:

> CXX_DUMP_VERSION=`$CXX -dumpversion | cut -f1-2 -d.`
> if test "$CXX_DUMP_VERSION" \< "4.5"; then
>        WARNING_GCC_44_STRICT_ALIASING_CFLAG="-fno-strict-aliasing"
> fi
>
> The error message is thrown because the builtin test does not support
> the "<" operator (which /bin/test does).

That's not portable.  POSIX does not specify an operator < for test.

For a portable solution, use expr(1) instead.

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to