summaryrefslogtreecommitdiff
path: root/package/libantlr3c/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'package/libantlr3c/patches/patch-configure')
-rw-r--r--package/libantlr3c/patches/patch-configure20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/libantlr3c/patches/patch-configure b/package/libantlr3c/patches/patch-configure
new file mode 100644
index 000000000..4fd248902
--- /dev/null
+++ b/package/libantlr3c/patches/patch-configure
@@ -0,0 +1,20 @@
+--- libantlr3c-3.2.orig/configure 2009-12-11 23:55:07.000000000 +0100
++++ libantlr3c-3.2/configure 2011-05-10 14:08:20.000000000 +0200
+@@ -19533,7 +19533,7 @@ sparc*-*solaris*)
+ *)
+ CPPCMNTFLAGS=
+ CCFLAGS64=
+- OPTIMFLAGS="-O"
++ OPTIMFLAGS=""
+ if test x"$enable_debuginfo" = xyes; then
+ DEBUGFLAGS='-g'
+ fi
+@@ -19543,7 +19543,7 @@ esac
+ ;;
+ esac
+
+-CFLAGS="$CCFLAGS64 $CPPCMNTFLAGS $OPTIMFLAGS $DEBUGFLAGS $WARNFLAGS"
++CFLAGS="$CFLAGS $CCFLAGS64 $CPPCMNTFLAGS $OPTIMFLAGS $DEBUGFLAGS $WARNFLAGS"
+ { $as_echo "$as_me:$LINENO: result: $CFLAGS" >&5
+ $as_echo "$CFLAGS" >&6; }
+