]> git.pld-linux.org Git - packages/dar.git/blobdiff - dar-opt.patch
- more static libs
[packages/dar.git] / dar-opt.patch
index 7bf57559e4ce14a08d62778b3bdb3ea05554e543..0947b9a6bfbbda591494d53577718c826e8996a4 100644 (file)
@@ -1,18 +1,23 @@
---- dar-2.0.0/configure.ac.orig        2003-11-03 15:21:02.000000000 +0100
-+++ dar-2.0.0/configure.ac     2003-11-10 02:47:04.252495048 +0100
-@@ -145,13 +145,11 @@
- AC_ARG_ENABLE( [debug],
-                 AC_HELP_STRING(--enable-debug, [build targets with debugging option and no optimization]),
-                 [
+--- dar-2.7.14/configure.ac.orig       2024-03-23 12:43:29.000000000 +0100
++++ dar-2.7.14/configure.ac    2024-03-28 06:24:44.611456937 +0100
+@@ -67,7 +67,6 @@ AC_PROG_CXX
+ AC_PROG_CC
+ AC_PROG_LIBTOOL
+ AC_PROG_MAKE_SET
+-AC_PROG_RANLIB
+ AC_MSG_CHECKING([for C++ compiler usability])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
+@@ -1518,9 +1517,9 @@ AC_ARG_ENABLE( [debug],
+                               [ AC_MSG_ERROR([invalid argument given to --enable-debug]) ]
+                              )
 -                        CXXFLAGS="-g -Wall"
 -                        CFLAGS="-g -Wall"
-+                        CXXFLAGS="$CXXFLAGS -Wall"
-+                        CFLAGS="$CFLAGS -Wall"
+-                        LDFLAGS="-g -Wall"
++                        CXXFLAGS="$CXXFLAGS -g -Wall"
++                        CFLAGS="$CFLAGS -g -Wall"
++                        LDFLAGS="$LDFLAGS -g -Wall"
                          debug_static="yes"
+                         AC_DEFINE(LIBDAR_NO_OPTIMIZATION, 1, [if defined, informs the code that no optimization has been used for compilation])
                  ],
-                 [
--                        CXXFLAGS=-O
--                        CFLAGS=-O
-                         debug_static="no"
-                 ])
This page took 0.038487 seconds and 4 git commands to generate.