summaryrefslogtreecommitdiff
path: root/sys-fs/bindfs/files/bindfs-1.13.4-cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/bindfs/files/bindfs-1.13.4-cflags.patch')
-rw-r--r--sys-fs/bindfs/files/bindfs-1.13.4-cflags.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/sys-fs/bindfs/files/bindfs-1.13.4-cflags.patch b/sys-fs/bindfs/files/bindfs-1.13.4-cflags.patch
new file mode 100644
index 00000000000..9ab6fea3e82
--- /dev/null
+++ b/sys-fs/bindfs/files/bindfs-1.13.4-cflags.patch
@@ -0,0 +1,29 @@
+From 1789b728e8118626adb6b945303f1b2059a2e84d Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Sun, 23 Oct 2016 17:09:38 +0200
+Subject: [PATCH] Respect custom CFLAGS
+
+---
+ configure.ac | 6 ------
+ 1 file changed, 6 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index fb78b0b..f59c617 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,12 +16,6 @@ AC_ARG_WITH([core-foundation],
+ AS_HELP_STRING([--with-core-foundation], [link against Core Foundation (OS X only) @<:@default=no@:>@]))
+
+
+-if test x"$enable_debug" == "xyes" ; then
+- my_CFLAGS="-g -O0"
+-else
+- my_CFLAGS="-O2"
+-fi
+-
+ if test x"$enable_debug_output" == "xyes" ; then
+ AC_DEFINE([BINDFS_DEBUG], [1], [Define to 1 to enable debugging messages])
+ fi
+--
+2.10.0
+