commit: 508b842df4cdf5ec9c6dce8380a3796e6c3faa4c Author: Denis Reva <denis7774 <AT> gmail <DOT> com> AuthorDate: Wed Dec 21 14:20:24 2022 +0000 Commit: Denis Reva <denis7774 <AT> gmail <DOT> com> CommitDate: Wed Dec 21 14:21:02 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=508b842d
dev-libs/gbinder: Fixed unnecessary debug flag in makefile Closes: https://bugs.gentoo.org/887615 Signed-off-by: Denis Reva <denis7774 <AT> gmail.com> .../files/gbinder-1.1.30-r3-respect-env.patch | 40 ++++++++++++++++++++++ ...r-1.1.30-r2.ebuild => gbinder-1.1.30-r3.ebuild} | 2 +- 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/dev-libs/gbinder/files/gbinder-1.1.30-r3-respect-env.patch b/dev-libs/gbinder/files/gbinder-1.1.30-r3-respect-env.patch new file mode 100644 index 000000000..5f9d974f9 --- /dev/null +++ b/dev-libs/gbinder/files/gbinder-1.1.30-r3-respect-env.patch @@ -0,0 +1,40 @@ +diff --git a/Makefile b/Makefile +index e838b7e..4ce2039 100644 +--- a/Makefile ++++ b/Makefile +@@ -136,20 +136,20 @@ FULL_CFLAGS = $(BASE_FLAGS) $(CFLAGS) $(DEFINES) $(WARNINGS) $(INCLUDES) \ + -MMD -MP $(shell pkg-config --cflags $(PKGS)) + FULL_LDFLAGS = $(BASE_FLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB_SONAME) \ + $(shell pkg-config --libs $(PKGS)) -lpthread +-DEBUG_FLAGS = -g ++DEBUG_FLAGS = + RELEASE_FLAGS = +-COVERAGE_FLAGS = -g ++COVERAGE_FLAGS = + + KEEP_SYMBOLS ?= 0 + ifneq ($(KEEP_SYMBOLS),0) +-RELEASE_FLAGS += -g ++#RELEASE_FLAGS += -g + endif + + DEBUG_LDFLAGS = $(FULL_LDFLAGS) $(DEBUG_LIBS) $(DEBUG_FLAGS) + RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_LIBS) $(RELEASE_FLAGS) +-DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG +-RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2 +-COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) --coverage ++DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) ++RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) ++COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) + + # + # Files +@@ -275,7 +275,7 @@ $(DEBUG_SO): $(DEBUG_OBJS) + $(RELEASE_SO): $(RELEASE_OBJS) + $(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@ + ifeq ($(KEEP_SYMBOLS),0) +- $(STRIP) $@ ++# $(STRIP) $@ + endif + + $(DEBUG_LIB): $(DEBUG_OBJS) diff --git a/dev-libs/gbinder/gbinder-1.1.30-r2.ebuild b/dev-libs/gbinder/gbinder-1.1.30-r3.ebuild similarity index 94% rename from dev-libs/gbinder/gbinder-1.1.30-r2.ebuild rename to dev-libs/gbinder/gbinder-1.1.30-r3.ebuild index cd97f3663..c900ed13f 100644 --- a/dev-libs/gbinder/gbinder-1.1.30-r2.ebuild +++ b/dev-libs/gbinder/gbinder-1.1.30-r3.ebuild @@ -28,7 +28,7 @@ BDEPEND="virtual/pkgconfig sys-apps/sed" PATCHES=( - "${FILESDIR}/gbinder-1.1.30-respect-env.patch" + "${FILESDIR}/gbinder-1.1.30-r3-respect-env.patch" ) src_prepare() { default
