Skip to content

Commit

Permalink
rpm,deb: fix debuginfo packages
Browse files Browse the repository at this point in the history
Do not specify the built type option. It is explicitly set to "plain" by
the rpm macros and debhelper and machine cflags are set to generate
proper debugging symbols.

Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: David Marchand <david.marchand@redhat.com>
  • Loading branch information
rjarry committed Nov 15, 2024
1 parent bfdbe68 commit cea579e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

meson_opts := --wrap-mode=default
meson_opts += --buildtype=release
meson_opts += --auto-features=enabled
meson_opts += -Ddpdk:platform=generic

Expand Down
2 changes: 1 addition & 1 deletion rpm/grout.spec
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Suggests: %{name}
This package contains the development headers to build %{grout} API clients.

%build
%meson --buildtype=debugoptimized -Ddpdk:platform=generic
%meson -Ddpdk:platform=generic
%meson_build

%install
Expand Down

0 comments on commit cea579e

Please sign in to comment.