Skip to content

Commit

Permalink
Add rule to create debuginfo package for Debian in spec file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghislain MARY committed Jan 29, 2018
1 parent 6879738 commit 20ba9f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/rpm/ortp.spec.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ develop programs using the oRTP library.
%endif
%define ortp_cflags %ortp_arch_cflags -Wall -g -pipe -pthread -O3 -fomit-frame-pointer -fno-schedule-insns -fschedule-insns2 -fno-strict-aliasing

# This is for debian builds where debug_package has to be manually specified, whereas in centos it does not
%define custom_debug_package %{!?_enable_debug_packages:%debug_package}%{?_enable_debug_package:%{nil}}
%custom_debug_package

%prep
%setup -n %{name}-%{version}-%build_number

Expand Down

0 comments on commit 20ba9f2

Please sign in to comment.