aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2015-03-12 17:38:04 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2015-03-12 17:38:04 -0700
commit6517fe26a2a0c89c3112f4a383c601572c71d64a (patch)
treed37eea7ae6f3e15eee94afb5c9c749a4cd800577 /configure
parenta4ae7da6ef0c09c2616a0b82f7f569e4e134f75c (diff)
downloadriscv-pk-6517fe26a2a0c89c3112f4a383c601572c71d64a.zip
riscv-pk-6517fe26a2a0c89c3112f4a383c601572c71d64a.tar.gz
riscv-pk-6517fe26a2a0c89c3112f4a383c601572c71d64a.tar.bz2
Update to new privileged spec
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure97
1 files changed, 3 insertions, 94 deletions
diff --git a/configure b/configure
index 4e79e83..a6f4ffe 100755
--- a/configure
+++ b/configure
@@ -3968,7 +3968,9 @@ fi
# Default compiler flags
#-------------------------------------------------------------------------
-CFLAGS="-Wall -Os -std=gnu99 -Wno-unused -Wno-attributes -fno-delete-null-pointer-checks"
+CFLAGS="-Wall -Werror -mcmodel=medany -O2 -std=gnu99 -Wno-unused -Wno-attributes -fno-delete-null-pointer-checks"
+
+LIBS="-lgcc"
#-------------------------------------------------------------------------
@@ -4120,97 +4122,6 @@ $as_echo "#define SOFTFLOAT_ENABLED /**/" >>confdefs.h
- # Determine if this is a required or an optional subproject
-
-
-
- # Determine if there is a group with the same name
-
-
-
- # Create variations of the subproject name suitable for use as a CPP
- # enabled define, a shell enabled variable, and a shell function
-
-
-
-
-
-
-
-
-
-
-
- # Add subproject to our running list
-
- subprojects="$subprojects softfloat_riscv"
-
- # Process the subproject appropriately. If enabled add it to the
- # $enabled_subprojects running shell variable, set a
- # SUBPROJECT_ENABLED C define, and include the appropriate
- # 'subproject.ac'.
-
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: configuring default subproject : softfloat_riscv" >&5
-$as_echo "$as_me: configuring default subproject : softfloat_riscv" >&6;}
- ac_config_files="$ac_config_files softfloat_riscv.mk:softfloat_riscv/softfloat_riscv.mk.in"
-
- enable_softfloat_riscv_sproj="yes"
- subprojects_enabled="$subprojects_enabled softfloat_riscv"
-
-$as_echo "#define SOFTFLOAT_RISCV_ENABLED /**/" >>confdefs.h
-
-
-
-
-
-
- # Determine if this is a required or an optional subproject
-
-
-
- # Determine if there is a group with the same name
-
-
-
- # Create variations of the subproject name suitable for use as a CPP
- # enabled define, a shell enabled variable, and a shell function
-
-
-
-
-
-
-
-
-
-
-
- # Add subproject to our running list
-
- subprojects="$subprojects softint"
-
- # Process the subproject appropriately. If enabled add it to the
- # $enabled_subprojects running shell variable, set a
- # SUBPROJECT_ENABLED C define, and include the appropriate
- # 'subproject.ac'.
-
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: configuring default subproject : softint" >&5
-$as_echo "$as_me: configuring default subproject : softint" >&6;}
- ac_config_files="$ac_config_files softint.mk:softint/softint.mk.in"
-
- enable_softint_sproj="yes"
- subprojects_enabled="$subprojects_enabled softint"
-
-$as_echo "#define SOFTINT_ENABLED /**/" >>confdefs.h
-
-
-
-
-
-
-
# Output make variables
@@ -4929,8 +4840,6 @@ do
case $ac_config_target in
"pk.mk") CONFIG_FILES="$CONFIG_FILES pk.mk:pk/pk.mk.in" ;;
"softfloat.mk") CONFIG_FILES="$CONFIG_FILES softfloat.mk:softfloat/softfloat.mk.in" ;;
- "softfloat_riscv.mk") CONFIG_FILES="$CONFIG_FILES softfloat_riscv.mk:softfloat_riscv/softfloat_riscv.mk.in" ;;
- "softint.mk") CONFIG_FILES="$CONFIG_FILES softint.mk:softint/softint.mk.in" ;;
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;