Files
pkgsrc-ng/devel/nasm/patches/patch-ac
2016-01-21 23:40:00 +01:00

16 lines
555 B
Plaintext

$NetBSD: patch-ac,v 1.7 2014/04/08 12:50:43 adam Exp $
Add -Wno-char-subscripts to CFLAGS
--- configure.orig 2013-08-13 07:58:03.000000000 +0000
+++ configure
@@ -4299,7 +4299,7 @@ rm -f core conftest.err conftest.$ac_obj
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wall" >&5
$as_echo_n "checking if $CC accepts -Wall... " >&6; }
pa_add_cflags__old_cflags="$CFLAGS"
- CFLAGS="$CFLAGS -Wall"
+ CFLAGS="$CFLAGS -Wall -Wno-char-subscripts"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>