mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 11:33:15 -04:00
dev-libs/gbinder: Fixed unnecessary debug flag in makefile
Closes: https://bugs.gentoo.org/887615 Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
40
dev-libs/gbinder/files/gbinder-1.1.30-r3-respect-env.patch
Normal file
40
dev-libs/gbinder/files/gbinder-1.1.30-r3-respect-env.patch
Normal file
@@ -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)
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user