Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 183992 Details for
Bug 123975
new ebuild - dev-lang/xharbour
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch fixing -fPIC usage.
xharbour-fPIC.patch (text/plain), 942 bytes, created by
Phil Krylov
on 2009-03-05 10:15:30 UTC
(
hide
)
Description:
Patch fixing -fPIC usage.
Filename:
MIME Type:
Creator:
Phil Krylov
Created:
2009-03-05 10:15:30 UTC
Size:
942 bytes
patch
obsolete
>--- xharbour-1.0.0-beta1/config/linux/gcc.cf.orig 2006-07-16 23:48:56.000000000 +0400 >+++ xharbour-1.0.0-beta1/config/linux/gcc.cf 2009-03-05 10:38:53.000000000 +0300 >@@ -22,9 +22,6 @@ > # We are under linux > #CFLAGS = -DHB_OS_LINUX -Wall -std=gnu99 > CFLAGS = -DHB_OS_LINUX -Wall -W -fsigned-char >-# uncomment this if you want to force relocateable code for .so libs >-# it's necessary on some platforms but can reduce performance >-#CFLAGS += -fPIC > > ifeq ($(HB_LEX),SIMPLEX) > CFLAGS += -DSIMPLEX >@@ -36,6 +33,14 @@ > CFLAGS+= -DHB_THREAD_SUPPORT -D_THREAD_SAFE > endif > else >+# force relocateable code for .so libs >+# it's necessary on some platforms but can reduce performance >+ifeq ($(shell sh -c 'uname -m 2>/dev/null'),x86_64) >+USE_FPIC = yes >+endif >+ifeq ($(USE_FPIC),yes) >+CFLAGS += -fPIC >+endif > #Add thread support to lib compilation only if compiling a _mt lib > ifeq ($(HB_LIBCOMP_MT),YES) > CFLAGS+= -DHB_THREAD_SUPPORT -D_THREAD_SAFE
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 123975
:
80618
|
144346
|
147677
|
183855
|
183876
|
183911
|
183912
|
183914
|
183916
|
183987
|
183988
|
183990
| 183992 |
183993
|
184044
|
184144
|
184206
|
278275
|
279195