Changeset 9d1f17a9 in rtems for cpukit


Ignore:
Timestamp:
Oct 11, 2018, 5:34:35 PM (11 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
c6023b7
Parents:
ca056e3
git-author:
Sebastian Huber <sebastian.huber@…> (10/11/18 17:34:35)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/12/18 07:19:34)
Message:

build: Fix build on Windows

Avoid a long argument list while creating the librtemscpu.a library
archive.

Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/Makefile.am

    rca056e3 r9d1f17a9  
    19751975
    19761976endif
     1977
     1978if HACK_TO_AVOID_LONG_ARG_LIST
     1979
     1980librtemscpu.a: $(librtemscpu_a_OBJECTS) $(librtemscpu_a_DEPENDENCIES) $(EXTRA_librtemscpu_a_DEPENDENCIES)
     1981        -rm -f librtemscpu.a librtemscpu.txt
     1982        for i in $(librtemscpu_a_OBJECTS) ; do echo "$$i" >>librtemscpu.txt ; done
     1983        $(librtemscpu_a_AR) librtemscpu.a @librtemscpu.txt $(librtemscpu_a_LIBADD)
     1984        $(RANLIB) librtemscpu.a
     1985
     1986endif
  • cpukit/configure.ac

    rca056e3 r9d1f17a9  
    3939RTEMS_PROG_CCAS
    4040AC_PROG_RANLIB
     41
     42AC_MSG_CHECKING([for a need to avoid a long argument list])
     43
     44hack_to_avoid_long_arg_list=no
     45case "${build_os}" in
     46  *cygwin*|*mingw*|*msys*)
     47     hack_to_avoid_long_arg_list=yes
     48     ;;
     49   *)
     50     ;;
     51esac
     52
     53AC_MSG_RESULT([${hack_to_avoid_long_arg_list}])
     54AM_CONDITIONAL([HACK_TO_AVOID_LONG_ARG_LIST], [test "${hack_to_avoid_long_arg_list}" = yes])
    4155
    4256RTEMS_CHECK_NEWLIB
Note: See TracChangeset for help on using the changeset viewer.