Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 296161 Details for
Bug 395041
net-libs/libnatpmp-20110808 does not respect LDFLAGS (only --hash-style=gnu)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libnatpmp-20110808-flags.patch
libnatpmp-20110808-flags.patch (text/plain), 1.49 KB, created by
iGentoo
on 2011-12-17 20:19:24 UTC
(
hide
)
Description:
libnatpmp-20110808-flags.patch
Filename:
MIME Type:
Creator:
iGentoo
Created:
2011-12-17 20:19:24 UTC
Size:
1.49 KB
patch
obsolete
> Makefile | 15 ++++++++------- > 1 files changed, 8 insertions(+), 7 deletions(-) > >diff --git a/Makefile b/Makefile >index 0ba5e2c..c0d84e8 100644 >--- a/Makefile >+++ b/Makefile >@@ -11,7 +11,8 @@ INSTALL = install > # APIVERSION is used in soname > APIVERSION = 1 > #LDFLAGS = -Wl,--no-undefined >-CFLAGS = -O -fPIC -Wall -DENABLE_STRNATPMPERR >+CFLAGS := -O -fPIC -Wall -DENABLE_STRNATPMPERR $(CFLAGS) >+LIBDIR ?= lib > > LIBOBJS = natpmp.o getgateway.o > >@@ -29,11 +30,11 @@ endif > > HEADERS = natpmp.h > >-EXECUTABLES = testgetgateway natpmpc-shared natpmpc-static >+EXECUTABLES = testgetgateway natpmpc-shared > > INSTALLPREFIX ?= $(PREFIX)/usr > INSTALLDIRINC = $(INSTALLPREFIX)/include >-INSTALLDIRLIB = $(INSTALLPREFIX)/lib >+INSTALLDIRLIB = $(INSTALLPREFIX)/$(LIBDIR) > INSTALLDIRBIN = $(INSTALLPREFIX)/bin > > .PHONY: all clean depend install cleaninstall installpythonmodule >@@ -74,19 +75,19 @@ cleaninstall: > testgetgateway: testgetgateway.o getgateway.o > > natpmpc-static: natpmpc.o $(STATICLIB) >- $(CC) $(LDFLAGS) -o $@ $^ >+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ > > natpmpc-shared: natpmpc.o $(SHAREDLIB) >- $(CC) $(LDFLAGS) -o $@ $^ >+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ > > $(STATICLIB): $(LIBOBJS) > $(AR) crs $@ $? > > $(SHAREDLIB): $(LIBOBJS) > ifeq ($(OS), Darwin) >- $(CC) -dynamiclib -Wl,-install_name,$(SONAME) -o $@ $^ >+ $(CC) $(LDFLAGS) -dynamiclib -Wl,-install_name,$(SONAME) -o $@ $^ > else >- $(CC) -shared -Wl,-soname,$(SONAME) -o $@ $^ >+ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(SONAME) -o $@ $^ > endif > > # DO NOT DELETE
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 395041
:
296105
|
296161
|
296163