Skip to content

Instantly share code, notes, and snippets.

@joshenders
Created November 25, 2016 23:32
Show Gist options
  • Save joshenders/607fd36fe00071ca709452782f67f420 to your computer and use it in GitHub Desktop.
Save joshenders/607fd36fe00071ca709452782f67f420 to your computer and use it in GitHub Desktop.
Patch for varnish-3.0.2-0ubuntu0.1 to enable debug symbols
--- rules 2016-11-25 23:23:25.924313744 +0000
+++ rules.new 2016-11-25 23:23:17.788331016 +0000
@@ -15,7 +15,7 @@
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
# Set local state dir for FHS
-LOCAL_CONFIGURE_FLAGS = --localstatedir=/var/lib
+LOCAL_CONFIGURE_FLAGS = --localstatedir=/var/lib --enable-debugging-symbols
ifneq ($(filter $(DEB_HOST_ARCH),$(DISABLE_JEMALLOC_ARCH_LIST)),)
LOCAL_CONFIGURE_FLAGS += --disable-jemalloc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment