git.samba.org
/
rusty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fab9d94
)
ѕ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
Björn Jacke
<bj@sernet.de>
Fri, 26 Nov 2010 00:52:36 +0000
(
01:52
+0100)
-fPIC made shared library builds fail there
source3/configure.in
patch
|
blob
|
history
diff --git
a/source3/configure.in
b/source3/configure.in
index 011bd1afec749e10a0bff69275a5f20a3242da78..17b5470905e147f0609c9677b97087e69aa82b85 100644
(file)
--- a/
source3/configure.in
+++ b/
source3/configure.in
@@
-1736,7
+1736,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])
for flags in "-expect_unresolved '*'" "-Wl,-expect_unresolved,'*'" ; do