Commit dba34fde authored by Kan-Ru Chen's avatar Kan-Ru Chen

Bump Standards-Version to 4.2.1

Support noopt and terse in DEB_BUILD_OPTIONS
parent ab96c224
......@@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 7.4.10~), dpkg-dev (>= 1.16.1.1~),
libfreetype6-dev, pkg-config, libjpeg-dev, libjbig2dec-dev,
libopenjp2-7-dev, libx11-dev, libxext-dev, zlib1g-dev,
libharfbuzz-dev, freeglut3-dev
Standards-Version: 4.1.1
Standards-Version: 4.2.1
Homepage: http://mupdf.com/
Vcs-Git: https://salsa.debian.org/koster/mupdf.git
Vcs-Browser: https://salsa.debian.org/koster/mupdf
......
......@@ -23,12 +23,23 @@ CFLAGS += $(CPPFLAGS)
CFLAGS += -DNO_ICC
CFLAGS += -fPIC
BUILD_FLAGS = build=debian OS=Linux verbose=yes XCFLAGS="$(CFLAGS)" XLDFLAGS="$(LDFLAGS)" prefix=/usr
BUILD_FLAGS = build=debian OS=Linux XCFLAGS="$(CFLAGS)" XLDFLAGS="$(LDFLAGS)" prefix=/usr
# Force using system library
BUILD_FLAGS += USE_SYSTEM_LIBS=yes
# Force using system lcms2 (was not included in default system library set)
BUILD_FLAGS += USE_SYSTEM_LCMS2=yes
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
BUILD_FLAGS += verbose=yes
endif
ifeq ($(DEB_TARGET_ARCH),mips64el)
BUILD_FLAGS += HAVE_OBJCOPY=no
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment