Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 276412 | Differences between
and this patch

Collapse All | Expand All

(-)kerneloops-0.12/Makefile (+4 lines)
Lines 13-18 CC?=gcc Link Here
13
CFLAGS := -O2 -g -fstack-protector -D_FORTIFY_SOURCE=2 -Wall -W -Wstrict-prototypes -Wundef -fno-common -Werror-implicit-function-declaration -Wdeclaration-after-statement
13
CFLAGS := -O2 -g -fstack-protector -D_FORTIFY_SOURCE=2 -Wall -W -Wstrict-prototypes -Wundef -fno-common -Werror-implicit-function-declaration -Wdeclaration-after-statement
14
14
15
MY_CFLAGS := `pkg-config --cflags libnotify gtk+-2.0`
15
MY_CFLAGS := `pkg-config --cflags libnotify gtk+-2.0`
16
MY_NOUI := `pkg-config --cflags glib-2.0 dbus-glib-1`
16
#
17
#
17
# pkg-config tends to make programs pull in a ton of libraries, not all 
18
# pkg-config tends to make programs pull in a ton of libraries, not all 
18
# are needed. -Wl,--as-needed tells the linker to just drop unused ones,
19
# are needed. -Wl,--as-needed tells the linker to just drop unused ones,
Lines 26-31 all: kerneloops kerneloops-applet kernel Link Here
26
noui:	kerneloops kerneloops.8.gz
27
noui:	kerneloops kerneloops.8.gz
27
28
28
.c.o:
29
.c.o:
30
	$(CC) $(CFLAGS) $(MY_NOUI) -c -o $@ $<
31
32
kerneloops-applet.c:
29
	$(CC) $(CFLAGS) $(MY_CFLAGS) -c -o $@ $<
33
	$(CC) $(CFLAGS) $(MY_CFLAGS) -c -o $@ $<
30
 
34
 
31
35

Return to bug 276412