forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-lang/gnat-gpl: backport libgomp -Werror fix to 2017
Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <[email protected]>
- Loading branch information
Sergei Trofimovich
committed
Jun 21, 2020
1 parent
ef8efc7
commit 814c45a
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
dev-lang/gnat-gpl/files/gnat-gpl-2017-libgomp-Werror.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
libgomp does not respect --disable-werror | ||
|
||
https://bugs.gentoo.org/229059 | ||
http://gcc.gnu.org/PR38436 | ||
--- a/libgomp/configure.ac | ||
+++ b/libgomp/configure.ac | ||
@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" | ||
# Add -Wall -Werror if we are using GCC. | ||
if test "x$GCC" = "xyes"; then | ||
- XCFLAGS="$XCFLAGS -Wall -Werror" | ||
+ XCFLAGS="$XCFLAGS -Wall" | ||
fi | ||
--- a/libgomp/configure | ||
+++ b/libgomp/configure | ||
@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" | ||
# Add -Wall -Werror if we are using GCC. | ||
if test "x$GCC" = "xyes"; then | ||
- XCFLAGS="$XCFLAGS -Wall -Werror" | ||
+ XCFLAGS="$XCFLAGS -Wall" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters