You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ogdi/ogdi-3.2.0.beta1-optflags.p...

26 lines
958 B

diff -up ogdi-3.2.0.beta1/configure.in~ ogdi-3.2.0.beta1/configure.in
--- ogdi-3.2.0.beta1/configure.in~ 2007-02-24 19:37:33.000000000 +0200
+++ ogdi-3.2.0.beta1/configure.in 2007-10-12 22:13:58.000000000 +0300
@@ -36,9 +36,6 @@ AC_COMPILER_WFLAGS
AC_COMPILER_PIC
AC_LD_SHARED
-dnl Strip out optimization if already added
-CFLAGS=`echo "$CFLAGS " | sed "s/-O2 //"`
-
dnl ---------------------------------------------------------------------------
dnl Do we have rpc/pmap_clnt.h, float.h, dlfcn.h?
dnl ---------------------------------------------------------------------------
diff -up ogdi-3.2.0.beta1/configure~ ogdi-3.2.0.beta1/configure
--- ogdi-3.2.0.beta1/configure~ 2007-02-24 19:37:33.000000000 +0200
+++ ogdi-3.2.0.beta1/configure 2007-10-12 22:14:14.000000000 +0300
@@ -2425,8 +2425,6 @@ _ACEOF
-CFLAGS=`echo "$CFLAGS " | sed "s/-O2 //"`
-
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'