OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [test-code-or1k/] [configure.ac] - Diff between revs 450 and 458

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 450 Rev 458
Line 79... Line 79...
AM_PROG_AS
AM_PROG_AS
AM_PROG_CC_C_O
AM_PROG_CC_C_O
AC_PROG_INSTALL
AC_PROG_INSTALL
 
 
# Specify our baseline CFLAGS
# Specify our baseline CFLAGS
CPPFLAGS="-I\${top_srcdir}/support -I\${top_srcdir}/mc-common"
CPPFLAGS="-I\${top_srcdir}/support -I\${top_srcdir}/except"
CFLAGS="-Wall -Werror -g -nostdlib -mhard-div -mhard-mul"
CFLAGS="-Wall -Werror -g -nostdlib -mhard-div -mhard-mul"
 
 
# Flag to specify whether we want optimization when checking
# Flag to specify whether we want optimization when checking
AC_MSG_CHECKING(whether to enable optimizations when checking)
AC_MSG_CHECKING(whether to enable optimizations when checking)
AC_ARG_ENABLE(opt,
AC_ARG_ENABLE(check-opt,
    [  --enable-check-opt      enable optimizations
    [  --enable-check-opt      enable optimizations
  --enable-check-opt=level     same as gcc -O switch  ], [
  --enable-check-opt=level     same as gcc -O switch  ], [
    case "$enableval" in
    case "$enableval" in
        yes)
        yes)
            CFLAGS="$CFLAGS -O"
            CFLAGS="$CFLAGS -O"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.