Skip to content

Commit

Permalink
update source/options
Browse files Browse the repository at this point in the history
  • Loading branch information
duiniuluantanqin committed Nov 9, 2023
1 parent 36dee0e commit 264414b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
10 changes: 3 additions & 7 deletions trunk/packaging/deb/rules
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,16 @@ export DH_VERBOSE=1

# enable all hardening options (see #763372)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
dh $@
INSTALL_DIR := debian/build-bin
DEBIAN_TMP := debian/tmp

override_dh_auto_configure:
./configure --prefix=$(INSTALL_DIR) --config=/etc/srs-server/srs-server.conf --sys-ssl=on --sys-ffmpeg=on --sys-srtp=on --sys-srt=on
./configure --prefix=$(INSTALL_DIR) --config=/etc/srs-server/srs-server.conf --sys-ssl=on --sys-ffmpeg=on --sys-srtp=on --sys-srt=on --extra-flags=-Wextra

override_dh_auto_install:
make install
Expand Down
4 changes: 1 addition & 3 deletions trunk/packaging/deb/source/lintian-overrides
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
source-is-missing [3rdparty/*]
source-is-missing [doc/*]
source-is-missing [research/players/js/*]
source-is-missing
very-long-line-length-in-source-file
4 changes: 3 additions & 1 deletion trunk/packaging/deb/source/options
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
extend-diff-ignore = "^[^/]*3rdparty/srt-1-fit/srtcore/srt_shared\\.rc$"
extend-diff-ignore = "^[^/]*3rdparty/srt-1-fit/srtcore/srt_shared\\.rc$"
extend-diff-ignore = ".*\\.flv$"
extend-diff-ignore = ".*\\.swf$"

0 comments on commit 264414b

Please sign in to comment.