Browse Source

configure argument --host=riscv is now implied

cs250
Andrew Waterman 15 years ago
parent
commit
2f5776b244
  1. 16
      aclocal.m4
  2. 6
      configure
  3. 2
      configure.ac

16
aclocal.m4

@ -343,3 +343,19 @@ AC_DEFUN([MCPPBS_GROUP],
])
])
#-------------------------------------------------------------------------
# AX_DEFAULT_CONFIGURE_ARG
#-------------------------------------------------------------------------
# Simple little macro which adds a configure commane line option to an
# internal autoconf shell variable. Not sure how safe this is, but it
# seems to work fine.
#
# Author : Christopher Batten
# Date : August 20, 2009
AC_DEFUN([AX_DEFAULT_CONFIGURE_ARG],
[
AC_MSG_NOTICE([adding default configure arg: $1])
ac_configure_args="$1 ${ac_configure_args}"
])

6
configure

@ -3912,6 +3912,12 @@ CFLAGS="-Wall -Os -std=gnu99"
LIBS="-lgcc"
{ $as_echo "$as_me:${as_lineno-$LINENO}: adding default configure arg: --host=riscv" >&5
$as_echo "$as_me: adding default configure arg: --host=riscv" >&6;}
ac_configure_args="--host=riscv ${ac_configure_args}"
#-------------------------------------------------------------------------
# MCPPBS subproject list
#-------------------------------------------------------------------------

2
configure.ac

@ -74,6 +74,8 @@ AC_HEADER_STDC
AC_SUBST([CFLAGS], ["-Wall -Os -std=gnu99"])
AC_SUBST([LIBS], ["-lgcc"])
AX_DEFAULT_CONFIGURE_ARG([--host=riscv])
#-------------------------------------------------------------------------
# MCPPBS subproject list
#-------------------------------------------------------------------------

Loading…
Cancel
Save