The build was broken due to some libffi defines being undefined on powerpc; issue that does not cause runtime errors. mips64 was impacted by the same issue, but later the build fails with a SIGBUS (thanks to Janne Johansson who tested it there). OK jca@
20 lines
572 B
Plaintext
20 lines
572 B
Plaintext
$OpenBSD: patch-config_auto_warnings_pm,v 1.1 2020/05/14 18:26:21 cwen Exp $
|
|
|
|
Drop all -Werror, fix the build on powerpc.
|
|
The build breaks due to some libffi defines being undefined,
|
|
issue that doesn't cause runtime errors.
|
|
|
|
Index: config/auto/warnings.pm
|
|
--- config/auto/warnings.pm.orig
|
|
+++ config/auto/warnings.pm
|
|
@@ -169,9 +169,6 @@ sub _init {
|
|
-Werror=strict-prototypes
|
|
);
|
|
|
|
- $gcc->{'basic'} = [ @gcc_or_gpp_basic, @gcc_basic ];
|
|
- $gpp->{'basic'} = [ @gcc_or_gpp_basic ];
|
|
-
|
|
my @gcc_or_gpp_cage = qw(
|
|
-std=c89
|
|
-Wfloat-equal
|