LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File liblbfgs_build.patch of Package liblbfgs (Project home:posophe:speech)

diff -rupN liblbfgs-1.10/configure.in liblbfgs-1.10-new/configure.in
--- liblbfgs-1.10/configure.in	2010-12-20 17:02:09.000000000 +0100
+++ liblbfgs-1.10-new/configure.in	2014-06-20 00:58:37.621555274 +0200
@@ -50,19 +50,6 @@ AC_CHECK_HEADERS(xmmintrin.h emmintrin.h
 
 
 dnl ------------------------------------------------------------------
-dnl Checks for debugging mode
-dnl ------------------------------------------------------------------
-AC_ARG_ENABLE(
-    debug,
-    [AS_HELP_STRING(
-        [--enable-debug],
-        [build for debugging]
-        )],
-    [CFLAGS="-DDEBUG -O -g ${CFLAGS}"],
-    [CFLAGS="-O3 -ffast-math ${CFLAGS}"]
-)
-
-dnl ------------------------------------------------------------------
 dnl Checks for profiling mode
 dnl ------------------------------------------------------------------
 AC_ARG_ENABLE(
diff -rupN liblbfgs-1.10/lib/Makefile.am liblbfgs-1.10-new/lib/Makefile.am
--- liblbfgs-1.10/lib/Makefile.am	2010-12-20 17:04:56.000000000 +0100
+++ liblbfgs-1.10-new/lib/Makefile.am	2014-06-20 01:01:10.222550765 +0200
@@ -18,7 +18,7 @@ liblbfgs_la_SOURCES = \
 
 liblbfgs_la_LDFLAGS = \
 	-no-undefined \
-	-release @VERSION@
+	-version-info $(subst .,:,@VERSION@)
 
 AM_CFLAGS = @CFLAGS@
 INCLUDES = @INCLUDES@