15 lines
845 B
Text
15 lines
845 B
Text
$NetBSD: patch-ac,v 1.1 2011/01/29 22:39:27 markd Exp $
|
|
|
|
Dont insist on 1990 standard or fails to handle // comments in lcms.h
|
|
|
|
--- configure.orig 2011-01-29 03:23:57.867128819 +0000
|
|
+++ configure
|
|
@@ -5286,7 +5286,7 @@ fi
|
|
CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
|
|
case $host in
|
|
*-*-linux-gnu)
|
|
- CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
|
|
+ CFLAGS="-W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
|
|
CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts $CXXFLAGS"
|
|
|
|
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
|