Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 829001
Collapse All | Expand All

(-)a/src/Makefile (-2 / +1 lines)
Lines 30-36 endif Link Here
30
ifeq ($(ZLIB), 1)
30
ifeq ($(ZLIB), 1)
31
	CXXFLAGS+= -DZLIB $(shell pkg-config --cflags zlib)
31
	CXXFLAGS+= -DZLIB $(shell pkg-config --cflags zlib)
32
endif
32
endif
33
LDFLAGS+=-L./core/ -g
33
LIBS+=-L./core/
34
ifneq ($(shell $(LD) --help 2| grep -- --as-needed), )
34
ifneq ($(shell $(LD) --help 2| grep -- --as-needed), )
35
	LDFLAGS+= -Wl,--as-needed
35
	LDFLAGS+= -Wl,--as-needed
36
endif
36
endif
Lines 44-50 ifeq ($(ZLIB), 1) Link Here
44
endif
44
endif
45
45
46
export CXXFLAGS
46
export CXXFLAGS
47
export LIBS
48
export LDFLAGS
47
export LDFLAGS
49
48
50
ifeq ($(ZLIB), 1)
49
ifeq ($(ZLIB), 1)
(-)a/src/gui/Makefile (-1 lines)
Lines 18-24 LIBS+=-L../core -llshw -lresolv $(GTKLIBS) Link Here
18
ifeq ($(SQLITE), 1)
18
ifeq ($(SQLITE), 1)
19
	LIBS+= $(shell pkg-config --libs sqlite3)
19
	LIBS+= $(shell pkg-config --libs sqlite3)
20
endif
20
endif
21
LDFLAGS=
22
ifneq ($(shell $(LD) --help 2| grep -- --as-needed), )
21
ifneq ($(shell $(LD) --help 2| grep -- --as-needed), )
23
	LDFLAGS+= -Wl,--as-needed
22
	LDFLAGS+= -Wl,--as-needed
24
endif
23
endif

Return to bug 829001