Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pkg-varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
pkg-varnish-cache
Commits
c7e2cfff
Commit
c7e2cfff
authored
Mar 09, 2023
by
Dridi Boukelmoune
Committed by
Simon Stridsberg
Mar 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deb: Fix the jemalloc handling
There is no --disable-jemalloc, or at least not anymore.
parent
9d6a0281
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
rules
debian/rules
+4
-4
No files found.
debian/rules
View file @
c7e2cfff
...
...
@@ -3,21 +3,21 @@
DH_VERBOSE=1
# List of architectures where jemalloc is not available
DISABLE
_JEMALLOC_ARCH_LIST := hppa m68k
WITHOUT
_JEMALLOC_ARCH_LIST := hppa m68k
# Explicitly disable LTO, which became default from Ubuntu 21.04 and onwards
export DEB_BUILD_MAINT_OPTIONS=optimize=-lto
# Explicitly initialize a variable to select architecture, unless it has been
# defined before. This is compared against the
DISABLE
_*_LIST variables later
# defined before. This is compared against the
WITHOUT
_*_LIST variables later
# in this makefile
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
# Set local state dir for FHS
LOCAL_CONFIGURE_FLAGS = --localstatedir=/var/lib --libdir=/usr/lib
ifneq ($(filter $(DEB_HOST_ARCH),$(
DISABLE
_JEMALLOC_ARCH_LIST)),)
LOCAL_CONFIGURE_FLAGS += --
disable
-jemalloc
ifneq ($(filter $(DEB_HOST_ARCH),$(
WITHOUT
_JEMALLOC_ARCH_LIST)),)
LOCAL_CONFIGURE_FLAGS += --
without
-jemalloc
endif
# Ship contrib scripts
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment