diff options
Diffstat (limited to 'ld/configure.in')
-rw-r--r-- | ld/configure.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ld/configure.in b/ld/configure.in index d84a2ae..39d4d12 100644 --- a/ld/configure.in +++ b/ld/configure.in @@ -68,21 +68,21 @@ AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" -AC_ARG_ENABLE(error-on-warning, - [ --enable-error-on-warning treat compile warnings as errors], +AC_ARG_ENABLE(werror, + [ --enable-werror treat compile warnings as errors], [case "${enableval}" in yes | y) ERROR_ON_WARNING="yes" ;; no | n) ERROR_ON_WARNING="no" ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-werror) ;; esac]) -# Enable -Werror by default, suppressing it only for --disable-error-on-warning +# Enable -Werror by default, suppressing it only for --disable-werror # or --disable-build-warnings. if test "${ERROR_ON_WARNING}" != no then build_warnings="$build_warnings -Werror" fi - + AC_ARG_ENABLE(build-warnings, [ --enable-build-warnings enable build-time compiler warnings if gcc is used], [case "${enableval}" in |