Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 165550 Details for
Bug 237815
[PATCH] sys-kernel/kerneloops should only depend on libnotify if USE="gtk"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pkg-config should only get for what is needed for the target
kerneloops-makefile.patch (text/plain), 1.36 KB, created by
Xake
on 2008-09-16 08:22:12 UTC
(
hide
)
Description:
pkg-config should only get for what is needed for the target
Filename:
MIME Type:
Creator:
Xake
Created:
2008-09-16 08:22:12 UTC
Size:
1.36 KB
patch
obsolete
>--- bajs.Makefile.old 2008-09-16 08:20:08.000000000 +0200 >+++ Makefile 2008-09-16 10:17:59.000000000 +0200 >@@ -12,7 +12,6 @@ > > CFLAGS := -O2 -g -fstack-protector -D_FORTIFY_SOURCE=2 -Wall -W -Wstrict-prototypes -Wundef -fno-common -Werror-implicit-function-declaration -Wdeclaration-after-statement > >-MY_CFLAGS := `pkg-config --cflags libnotify gtk+-2.0` > # > # pkg-config tends to make programs pull in a ton of libraries, not all > # are needed. -Wl,--as-needed tells the linker to just drop unused ones, >@@ -21,18 +20,19 @@ > LDF_A := -Wl,--as-needed `pkg-config --libs libnotify gtk+-2.0` > LDF_D := -Wl,--as-needed `pkg-config --libs glib-2.0 dbus-glib-1` `curl-config --libs` -Wl,"-z relro" -Wl,"-z now" > >-all: kerneloops kerneloops-applet kerneloops.8.gz >+all: kerneloops kerneloops-applet kerneloops.8.gz; CFLAGS += `pkg-config --cflags libnotify gtk+-2.0` > > noui: kerneloops kerneloops.8.gz > > .c.o: >- $(CC) $(CFLAGS) $(MY_CFLAGS) -c -o $@ $< >- >+ $(CC) $(CFLAGS) -c -o $@ $< > >+kerneloops: CFLAGS += `pkg-config --cflags glib-2.0 dbus-glib-1` > kerneloops: kerneloops.o submit.o dmesg.o configfile.o kerneloops.h > gcc kerneloops.o submit.o dmesg.o configfile.o $(LDF_D) -o kerneloops > @(cd po/ && $(MAKE)) > >+kerneloops-applet: CFLAGS += `pkg-config --cflags libnotify gtk+-2.0` > kerneloops-applet: kerneloops-applet.o > gcc kerneloops-applet.o $(LDF_A)-o kerneloops-applet >
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 237815
: 165550 |
165568