Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
0d4668c1
Commit
0d4668c1
authored
Jan 26, 2013
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libgo: Add --enable-werror configure option.
From-SVN: r195482
parent
acc6151f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
5 deletions
+17
-5
libgo/configure
+12
-3
libgo/configure.ac
+5
-2
No files found.
libgo/configure
View file @
0d4668c1
...
...
@@ -809,6 +809,7 @@ enable_static
with_pic
enable_fast_install
enable_libtool_lock
enable_werror
enable_version_specific_runtime_libs
with_libffi
with_system_libunwind
...
...
@@ -1449,6 +1450,7 @@ Optional Features:
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-werror turns on -Werror [default=yes]
--enable-version-specific-runtime-libs
Specify that runtime libraries should be installed
in a compiler-specific directory
...
...
@@ -11102,7 +11104,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
_LT_EOF
#line 1110
5
"configure"
#line 1110
7
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -11208,7 +11210,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
_LT_EOF
#line 1121
1
"configure"
#line 1121
3
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -13386,7 +13388,14 @@ done
WARN_FLAGS
=
'-Wall -Wextra -Wwrite-strings -Wcast-qual'
WERROR
=
"-Werror"
# Check whether --enable-werror was given.
if
test
"
${
enable_werror
+set
}
"
=
set
;
then
:
enableval
=
$enable_werror
;
fi
if
test
"x
$enable_werror
"
!=
"xno"
;
then
WERROR
=
"-Werror"
fi
glibgo_toolexecdir
=
no
...
...
libgo/configure.ac
View file @
0d4668c1
...
...
@@ -50,8 +50,11 @@ AC_PROG_AWK
WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
AC_SUBST(WARN_FLAGS)
dnl FIXME: This should be controlled by --enable-maintainer-mode.
WERROR="-Werror"
AC_ARG_ENABLE(werror, [AS_HELP_STRING([--enable-werror],
[turns on -Werror @<:@default=yes@:>@])])
if test "x$enable_werror" != "xno"; then
WERROR="-Werror"
fi
AC_SUBST(WERROR)
glibgo_toolexecdir=no
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment