git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdebae1
)
ѕ3/configue: set Tru64 cc's PIC switch right (none)
author
Björn Jacke
<bj@sernet.de>
Fri, 26 Nov 2010 00:32:53 +0000
(
01:32
+0100)
committer
Karolin Seeger
<kseeger@samba.org>
Fri, 31 Dec 2010 19:02:06 +0000
(20:02 +0100)
-fPIC made shared library builds fail there
Fixes #7821
(cherry picked from commit
dbcf73c45782c310cb7ff1f2177d410399e2f06d
)
source3/configure.in
patch
|
blob
|
history
diff --git
a/source3/configure.in
b/source3/configure.in
index 3bd5c2b2d4feb5138035b073600d6d299cc97c4f..5201302f2787c9852ebed7d879c77fd567bb212e 100644
(file)
--- a/
source3/configure.in
+++ b/
source3/configure.in
@@
-1631,7
+1631,9
@@
DSO_EXPORTS=""
BLDSHARED="true"
LDSHFLAGS="-shared"
SONAMEFLAG="-Wl,-soname,"
- PICFLAG="-fPIC"
+ if test "${GCC}" = "yes"; then
+ PICFLAG="-fPIC"
+ fi
AC_DEFINE(STAT_ST_BLOCKSIZE,512)
AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly])
;;