1 From f48d0f8375a54e51a6e2ec8df41588e1243ce9b6 Mon Sep 17 00:00:00 2001
2 From: Mion <UncleMion@gmail.com>
3 Date: Thu, 16 Feb 2012 19:47:15 -0700
4 Subject: [PATCH] fix to configure, removing default -Werror (based on a patch
8 configure | 10 +++++++---
9 1 file changed, 7 insertions(+), 3 deletions(-)
11 diff --git a/configure b/configure
12 index c58bf4332322..95779ab326a2 100755
15 @@ -31,7 +31,7 @@ USE_CPU_GFX=true
24 @@ -100,6 +100,9 @@ do
25 --no-werror | -no-werror)
28 + --with-werror | -with-werror)
31 --unsupported-compiler | -unsupported-compiler)
32 UNSUPPORTED_COMPILER=true ;;
33 --unsupported-compiler=* | -unsupported-compiler=*)
34 @@ -237,7 +240,8 @@ do
35 (note: g++ already uses -Wall)
36 --pedantic compile with -pedantic
37 --unsupported-compiler don't check for known compilers
38 - --no-werror don't compile with -Werror
39 + --no-werror don't compile with -Werror (default)
40 + --with-werror compile with -Werror
41 --no-cpu-gfx don't compile with custom intrinsic graphics
42 routines (usually compiled for x86/PPC if GCC 4.3+)
43 --vectorize try to use compiler vectorization (requires GCC 4+)
44 @@ -950,7 +954,7 @@ genlink() {
46 eval "LINK$2=\"\\\$(EXTLIB)/lib/lib$2\\\$(LIBSUFFIX)\""
48 - eval "LINK$2=-l$2.dll"
52 genlink $INTERNAL_LIBPNG z