summaryrefslogtreecommitdiff
path: root/libtorrent-rasterbar/really-disable-debug-flags.patch
blob: a8f4668f72956f872297734222c808460f8d3785 (plain)
    1 diff -pruN libtorrent-rasterbar-1.2.11.orig/configure.ac libtorrent-rasterbar-1.2.11/configure.ac
    2 --- libtorrent-rasterbar-1.2.11.orig/configure.ac	2020-12-28 16:23:27.250050285 +1100
    3 +++ libtorrent-rasterbar-1.2.11/configure.ac	2020-12-28 16:24:25.168717701 +1100
    4 @@ -328,8 +328,8 @@ AS_CASE(["$ARG_ENABLE_DEBUG"],
    5    ["no"], [
    6        AC_MSG_RESULT([no])
    7        AC_DEFINE([NDEBUG],[1],[Define to disable debug code.])
    8 -      #COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DNDEBUG "
    9 -      DEBUGFLAGS="-g0 -Os"
   10 +      COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DNDEBUG "
   11 +      #DEBUGFLAGS="-g0 -Os"
   12     ],
   13    [AC_MSG_RESULT([$ARG_ENABLE_DEBUG])
   14     AC_MSG_ERROR([Unknown option "$ARG_ENABLE_DEBUG". Use either "yes" or "no".])]

Generated by cgit