summaryrefslogtreecommitdiff
path: root/databases/libdbi/patches_drivers/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'databases/libdbi/patches_drivers/patch-configure')
-rw-r--r--databases/libdbi/patches_drivers/patch-configure27
1 files changed, 27 insertions, 0 deletions
diff --git a/databases/libdbi/patches_drivers/patch-configure b/databases/libdbi/patches_drivers/patch-configure
new file mode 100644
index 00000000000..f9bbb7b064c
--- /dev/null
+++ b/databases/libdbi/patches_drivers/patch-configure
@@ -0,0 +1,27 @@
+$NetBSD: patch-configure,v 1.1 2011/09/08 13:49:03 joerg Exp $
+
+--- configure.orig 2011-09-08 12:21:45.000000000 +0000
++++ configure
+@@ -20202,16 +20202,16 @@ else
+ case $host in
+ *-*-linux*)
+ DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
+- CFLAGS="-O20 -ffast-math -D_REENTRANT -fsigned-char"
+- PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
++ CFLAGS="-O3 -ffast-math -D_REENTRANT -fsigned-char"
++ PROFILE="-pg -g -O3 -ffast-math -D_REENTRANT -fsigned-char";;
+ sparc-sun-*)
+ DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -mv8"
+- CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
+- PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
++ CFLAGS="-O3 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
++ PROFILE="-pg -g -O3 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
+ *)
+ DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
+- CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
+- PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
++ CFLAGS="-O3 -D__NO_MATH_INLINES -fsigned-char"
++ PROFILE="-O3 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
+ esac
+ fi
+