Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 179442 Details for
Bug 196945
sys-apps/flashrom (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Makefile.patch
Makefile.patch (text/plain), 1.34 KB, created by
Christian Ruppert (idl0r)
on 2009-01-23 11:45:37 UTC
(
hide
)
Description:
Makefile.patch
Filename:
MIME Type:
Creator:
Christian Ruppert (idl0r)
Created:
2009-01-23 11:45:37 UTC
Size:
1.34 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 3845) >+++ Makefile (working copy) >@@ -11,14 +11,12 @@ > INSTALL = /usr/bin/install > PREFIX = /usr/local > #CFLAGS = -O2 -g -Wall -Werror >-CFLAGS = -Os -Wall -Werror >+CFLAGS ?= -Os -Wall -Werror > OS_ARCH = $(shell uname) >-ifeq ($(OS_ARCH), SunOS) >-LDFLAGS = -lpci -lz >-else >-LDFLAGS = -lpci -lz >+ifneq ($(OS_ARCH), SunOS) > STRIP_ARGS = -s > endif >+LIBS = -lpci -lz > ifeq ($(OS_ARCH), FreeBSD) > CFLAGS += -I/usr/local/include > LDFLAGS += -L/usr/local/lib >@@ -39,8 +37,8 @@ > | sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"' > > $(PROGRAM): $(OBJS) >- $(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS) >- $(STRIP) $(STRIP_ARGS) $(PROGRAM) >+ $(CC) -o $(PROGRAM) $(LDFLAGS) $(OBJS) $(LIBS) >+# $(STRIP) $(STRIP_ARGS) $(PROGRAM) > > flashrom.o: flashrom.c > $(CC) -c $(CFLAGS) $(SVNDEF) $(CPPFLAGS) $< -o $@ >@@ -60,7 +58,7 @@ > echo "struct pci_access *pacc;"; \ > echo "int main(int argc, char **argv)"; \ > echo "{ pacc = pci_alloc(); return 0; }"; ) > .test.c ) >- @$(CC) $(CFLAGS) .test.c -o .test $(LDFLAGS) &>/dev/null && \ >+ @$(CC) $(CFLAGS) $(LDFLAGS) .test.c -o .test $(LIBS) &>/dev/null && \ > echo "found." || ( echo "not found."; echo; \ > echo "Please install pciutils-devel and zlib-devel."; \ > echo "See README for more information."; echo; \
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 196945
:
134274
|
135388
|
137300
|
179403
|
179441
| 179442 |
190324
|
190325
|
190387