Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 338508 Details for
Bug 445378
net-misc/gogoc does not respect CXXFLAGS (partially)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Patch] Add missing EXTRA_CFLAGS in Makefiles
0001-Add-missing-EXTRA_CFLAGS-in-Makefile.patch (text/plain), 8.60 KB, created by
Meko.Otar
on 2013-02-10 13:58:20 UTC
(
hide
)
Description:
[Patch] Add missing EXTRA_CFLAGS in Makefiles
Filename:
MIME Type:
Creator:
Meko.Otar
Created:
2013-02-10 13:58:20 UTC
Size:
8.60 KB
patch
obsolete
>From dfe2878435848bc00966f7eca7936f7b0e561675 Mon Sep 17 00:00:00 2001 >From: Meko Otar <Meko.Otar@gmail.com> >Date: Sun, 10 Feb 2013 14:18:17 +0100 >Subject: [PATCH] Add missing ${EXTRA_CFLAGS} in Makefiles > >--- > gogoc-tsp/platform/darwin/Makefile | 4 ++-- > gogoc-tsp/platform/freebsd/Makefile | 4 ++-- > gogoc-tsp/platform/gogocpe/Makefile | 4 ++-- > gogoc-tsp/platform/linux/Makefile | 4 ++-- > gogoc-tsp/platform/netbsd/Makefile | 4 ++-- > gogoc-tsp/platform/openbsd/Makefile | 4 ++-- > gogoc-tsp/platform/sunos/Makefile | 4 ++-- > gogoc-tsp/platform/unix-common/Makefile | 4 ++-- > gogoc-tsp/src/lib/Makefile | 4 ++-- > gogoc-tsp/src/net/Makefile | 4 ++-- > gogoc-tsp/src/tsp/Makefile | 4 ++-- > gogoc-tsp/src/xml/Makefile | 4 ++-- > 14 files changed, 28 insertions(+), 24 deletions(-) > >diff --git a/gogoc-tsp/platform/darwin/Makefile b/gogoc-tsp/platform/darwin/Makefile >index 9184f2c..02af0ba 100644 >--- a/gogoc-tsp/platform/darwin/Makefile >+++ b/gogoc-tsp/platform/darwin/Makefile >@@ -13,10 +13,10 @@ > -include platform.mak > > ifdef DEBUG >-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG >+CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG ${EXTRA_CFLAGS} > LDLIBS=-g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lstdc++ -fexceptions > else >-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT >+CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT ${EXTRA_CFLAGS} > LDLIBS=$(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lstdc++ -fexceptions > endif > CC=gcc >diff --git a/gogoc-tsp/platform/freebsd/Makefile b/gogoc-tsp/platform/freebsd/Makefile >index cd94d86..3603823 100644 >--- a/gogoc-tsp/platform/freebsd/Makefile >+++ b/gogoc-tsp/platform/freebsd/Makefile >@@ -13,10 +13,10 @@ > -include platform.mak > > ifdef DEBUG >-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG >+CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG ${EXTRA_CFLAGS} > LDLIBS=-g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ > else >-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT >+CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT ${EXTRA_CFLAGS} > LDLIBS=$(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ > endif > CC=gcc >diff --git a/gogoc-tsp/platform/gogocpe/Makefile b/gogoc-tsp/platform/gogocpe/Makefile >index 1323528..2cf7e7a 100644 >--- a/gogoc-tsp/platform/gogocpe/Makefile >+++ b/gogoc-tsp/platform/gogocpe/Makefile >@@ -17,10 +17,10 @@ > -include platform.mak > > ifdef DEBUG >-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG >+CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG ${EXTRA_CFLAGS} > LDLIBS=-g $(LD_LIB_PATHS) $(LD_LIBRARIES) $(EXTRA_LDLIBS) > else >-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT >+CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT ${EXTRA_CFLAGS} > LDLIBS=$(LD_LIB_PATHS) $(LD_LIBRARIES) $(EXTRA_LDLIBS) > endif > >diff --git a/gogoc-tsp/platform/linux/Makefile b/gogoc-tsp/platform/linux/Makefile >index 1ba480f..1053cd7 100644 >--- a/gogoc-tsp/platform/linux/Makefile >+++ b/gogoc-tsp/platform/linux/Makefile >@@ -13,10 +13,10 @@ > -include platform.mak > > ifdef DEBUG >-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG >+CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG ${EXTRA_CFLAGS} > LDLIBS=-g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ > else >-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT >+CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT ${EXTRA_CFLAGS} > LDLIBS=$(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ > endif > CC=gcc >diff --git a/gogoc-tsp/platform/netbsd/Makefile b/gogoc-tsp/platform/netbsd/Makefile >index 97c11f9..a79a00f 100644 >--- a/gogoc-tsp/platform/netbsd/Makefile >+++ b/gogoc-tsp/platform/netbsd/Makefile >@@ -13,10 +13,10 @@ > -include platform.mak > > ifdef DEBUG >-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG >+CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG ${EXTRA_CFLAGS} > LDLIBS=-g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ -lm > else >-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT >+CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT ${EXTRA_CFLAGS} > LDLIBS=$(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ -lm > endif > CC=gcc >diff --git a/gogoc-tsp/platform/openbsd/Makefile b/gogoc-tsp/platform/openbsd/Makefile >index af1f24a..7422dca 100644 >--- a/gogoc-tsp/platform/openbsd/Makefile >+++ b/gogoc-tsp/platform/openbsd/Makefile >@@ -13,10 +13,10 @@ > -include platform.mak > > ifdef DEBUG >-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG >+CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG ${EXTRA_CFLAGS} > LDLIBS=-g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ -lm > else >-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT >+CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT ${EXTRA_CFLAGS} > LDLIBS=$(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ -lm > endif > CC=gcc >diff --git a/gogoc-tsp/platform/sunos/Makefile b/gogoc-tsp/platform/sunos/Makefile >index 85a4fc5..a57d3d9 100644 >--- a/gogoc-tsp/platform/sunos/Makefile >+++ b/gogoc-tsp/platform/sunos/Makefile >@@ -13,10 +13,10 @@ > -include platform.mak > > ifdef DEBUG >-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG >+CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG ${EXTRA_CFLAGS} > LDLIBS=-g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lsocket -lnsl -lcrypto -lpthread -lstdc++ -L/usr/sfw/lib -L/usr/local/ssl/lib > else >-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT >+CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT ${EXTRA_CFLAGS} > LDLIBS=$(LD_LIB_PATHS) $(LD_LIBRARIES) -lsocket -lnsl -lcrypto -lpthread -lstdc++ -L/usr/sfw/lib -L/usr/local/ssl/lib > endif > CC=gcc >diff --git a/gogoc-tsp/platform/unix-common/Makefile b/gogoc-tsp/platform/unix-common/Makefile >index b88152b..c056e59 100644 >--- a/gogoc-tsp/platform/unix-common/Makefile >+++ b/gogoc-tsp/platform/unix-common/Makefile >@@ -13,9 +13,9 @@ > -include $(PLATFORM_DIR)/$(PLATFORM)/platform.mak > > ifdef DEBUG >-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -DDEBUG >+CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -DDEBUG ${EXTRA_CFLAGS} > else >-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) >+CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS ${EXTRA_CFLAGS}) ${EXTRA_CFLAGS} > endif > CC=gcc > >diff --git a/gogoc-tsp/src/lib/Makefile b/gogoc-tsp/src/lib/Makefile >index 7213cc5..93c70a5 100644 >--- a/gogoc-tsp/src/lib/Makefile >+++ b/gogoc-tsp/src/lib/Makefile >@@ -14,9 +14,9 @@ > > > ifdef DEBUG >-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG >+CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG ${EXTRA_CFLAGS} > else >-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT >+CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT ${EXTRA_CFLAGS} > endif > CC=gcc > >diff --git a/gogoc-tsp/src/net/Makefile b/gogoc-tsp/src/net/Makefile >index 9b2dc42..5995fb8 100644 >--- a/gogoc-tsp/src/net/Makefile >+++ b/gogoc-tsp/src/net/Makefile >@@ -14,9 +14,9 @@ > > > ifdef DEBUG >-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG >+CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG ${EXTRA_CFLAGS} > else >-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT >+CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT ${EXTRA_CFLAGS} > endif > CC=gcc > >diff --git a/gogoc-tsp/src/tsp/Makefile b/gogoc-tsp/src/tsp/Makefile >index 4e378b6..9ced55f 100644 >--- a/gogoc-tsp/src/tsp/Makefile >+++ b/gogoc-tsp/src/tsp/Makefile >@@ -14,9 +14,9 @@ > > > ifdef DEBUG >-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG >+CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG ${EXTRA_CFLAGS} > else >-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT >+CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT ${EXTRA_CFLAGS} > endif > CC=gcc > >diff --git a/gogoc-tsp/src/xml/Makefile b/gogoc-tsp/src/xml/Makefile >index 449fc90..21a8ade 100644 >--- a/gogoc-tsp/src/xml/Makefile >+++ b/gogoc-tsp/src/xml/Makefile >@@ -14,9 +14,9 @@ > > > ifdef DEBUG >-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG >+CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG ${EXTRA_CFLAGS} > else >-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT >+CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT ${EXTRA_CFLAGS} > endif > CC=gcc > >-- >1.7.12.4 >
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 445378
:
331074
| 338508 |
338510