Changeset e98a72f in rtems


Ignore:
Timestamp:
Nov 16, 2006, 5:26:43 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Children:
17e91606
Parents:
53bd9fa
Message:

Remove RTEMS_AMPOLISH3.
Don't explictly pass CFLAGS_OPTIMIZE_V, CPU_CFLAGS.
Compose CFLAGS. Append CFLAGS to ac_configure_args.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/configure.ac

    r53bd9fa re98a72f  
    9292[. ./make/${RTEMS_BSP}.cache])
    9393CPU_CFLAGS=$ac_cv_env_CPU_CFLAGS
    94 test -n "${CPU_CFLAGS}" && \
    95   ac_configure_args="$ac_configure_args 'CPU_CFLAGS=${CPU_CFLAGS}'"
    9694
    9795AC_CACHE_CHECK([for CFLAGS_OPTIMIZE_V],[ac_cv_env_CFLAGS_OPTIMIZE_V],
    9896[. ./make/${RTEMS_BSP}.cache])
    9997CFLAGS_OPTIMIZE_V=$ac_cv_env_CFLAGS_OPTIMIZE_V
    100 test -n "${CFLAGS_OPTIMIZE_V}" && \
    101   ac_configure_args="$ac_configure_args 'CFLAGS_OPTIMIZE_V=${CFLAGS_OPTIMIZE_V}'"
     98
     99CFLAGS="${CFLAGS-${CPU_CFLAGS} ${CFLAGS_OPTIMIZE_V}}"
     100AS_IF([test x"${CFLAGS}" != x" "],[
     101  ac_configure_args="$ac_configure_args 'CFLAGS=${CFLAGS}'"])
    102102
    103103RTEMS_PROG_CC_FOR_TARGET
     
    126126   '--includedir=${exec_prefix}/${RTEMS_BSP}/lib/include' \
    127127   '--libdir=${exec_prefix}/${RTEMS_BSP}/lib' \
    128    'CFLAGS="${CFLAGS}"' \
    129128  ],
    130129  [test x"$multilib" = xno])
     
    196195   '--includedir=${exec_prefix}/${RTEMS_BSP}/lib/include' \
    197196   '--libdir=${exec_prefix}/${RTEMS_BSP}/lib' \
    198    'CFLAGS="${CFLAGS}"' \
    199197  ],
    200198  [test x"$enable_tests" != x"no" && test x"$multilib" = xno])
     
    210208   '--includedir=${exec_prefix}/${RTEMS_BSP}/lib/include' \
    211209   '--libdir=${exec_prefix}/${RTEMS_BSP}/lib' \
    212    'CFLAGS="${CFLAGS}"' \
    213210  ],
    214211  [test x"$enable_tests" != x"no" && test x"$multilib" = xyes])
     
    252249
    253250RTEMS_PROJECT_ROOT
    254 RTEMS_AMPOLISH3
    255251
    256252# Explicitly list all Makefiles here
Note: See TracChangeset for help on using the changeset viewer.