Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 758703 Details for
Bug 829001
sys-apps/lshw[gtk] does not respect LDFLAGS (PATCH)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix ldflags overriding
ldflags.patch (text/plain), 815 bytes, created by
Jannik Glückert
on 2021-12-12 15:03:49 UTC
(
hide
)
Description:
patch to fix ldflags overriding
Filename:
MIME Type:
Creator:
Jannik Glückert
Created:
2021-12-12 15:03:49 UTC
Size:
815 bytes
patch
obsolete
>diff --git a/src/Makefile b/src/Makefile >index 7ae8218..5c990b0 100644 >--- a/src/Makefile >+++ b/src/Makefile >@@ -30,7 +30,7 @@ endif > ifeq ($(ZLIB), 1) > CXXFLAGS+= -DZLIB $(shell pkg-config --cflags zlib) > endif >-LDFLAGS+=-L./core/ -g >+LIBS+=-L./core/ > ifneq ($(shell $(LD) --help 2| grep -- --as-needed), ) > LDFLAGS+= -Wl,--as-needed > endif >@@ -44,7 +44,6 @@ ifeq ($(ZLIB), 1) > endif > > export CXXFLAGS >-export LIBS > export LDFLAGS > > ifeq ($(ZLIB), 1) >diff --git a/src/gui/Makefile b/src/gui/Makefile >index 63c4ff5..7946736 100644 >--- a/src/gui/Makefile >+++ b/src/gui/Makefile >@@ -18,7 +18,6 @@ LIBS+=-L../core -llshw -lresolv $(GTKLIBS) > ifeq ($(SQLITE), 1) > LIBS+= $(shell pkg-config --libs sqlite3) > endif >-LDFLAGS= > ifneq ($(shell $(LD) --help 2| grep -- --as-needed), ) > LDFLAGS+= -Wl,--as-needed > endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 829001
: 758703