diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-11 19:34:35 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-12 09:19:34 +0200 |
commit | 9d1f17a9caf6a5a107a8d5395cae6fdfa2099099 (patch) | |
tree | 8870ec330927df4096d37f677c2ab68a8667fe1f /cpukit/configure.ac | |
parent | ca056e3fe7127f89dfb6e52803358db1051117a5 (diff) |
build: Fix build on Windows
Avoid a long argument list while creating the librtemscpu.a library
archive.
Diffstat (limited to 'cpukit/configure.ac')
-rw-r--r-- | cpukit/configure.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/configure.ac b/cpukit/configure.ac index 67889d2d8e..2c5e4a1f82 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -39,6 +39,20 @@ RTEMS_CANONICALIZE_TOOLS RTEMS_PROG_CCAS AC_PROG_RANLIB +AC_MSG_CHECKING([for a need to avoid a long argument list]) + +hack_to_avoid_long_arg_list=no +case "${build_os}" in + *cygwin*|*mingw*|*msys*) + hack_to_avoid_long_arg_list=yes + ;; + *) + ;; +esac + +AC_MSG_RESULT([${hack_to_avoid_long_arg_list}]) +AM_CONDITIONAL([HACK_TO_AVOID_LONG_ARG_LIST], [test "${hack_to_avoid_long_arg_list}" = yes]) + RTEMS_CHECK_NEWLIB # BSD-isms, used throughout the sources |