mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-26 09:07:34 +08:00
8d75828378
Move the minor sparc-specific logic to a dedicated variable so we can merge its configure logic up a level.
16 lines
501 B
Plaintext
16 lines
501 B
Plaintext
SPARC_CPU=SPARC
|
|
case ${target_cpu} in
|
|
sparclite*) SPARC_CPU=SLITE ;;
|
|
sparclet*) SPARC_CPU=SPLET ;;
|
|
sparc64*) SPARC_CPU=SPARC64 ;;
|
|
sparc86x*) SPARC_CPU=SLITE ;;
|
|
esac
|
|
AC_SUBST(SPARC_CPU)
|
|
|
|
SPARC_CYGMONLDSCRIPTTEMPL=${srcdir}/sparc/cygmon.ld.src
|
|
case ${target_cpu} in
|
|
sparc64*) SPARC_CYGMONLDSCRIPTTEMPL=${srcdir}/sparc/cygmon-sparc64-ld.src ;;
|
|
sparclet-*-aout*) SPARC_CYGMONLDSCRIPTTEMPL=${srcdir}/sparc/cygmon.ld.src; AC_CONFIG_FILES([sparc/libsys/Makefile]) ;;
|
|
esac
|
|
AC_SUBST(SPARC_CYGMONLDSCRIPTTEMPL)
|