git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff23cad
)
r25993: build: HOSTLD should always match HOSTCC if not specified
author
Stefan Metzmacher
<metze@samba.org>
Fri, 16 Nov 2007 09:39:52 +0000
(10:39 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Dec 2007 04:45:31 +0000
(
05:45
+0100)
metze
(This used to be commit
941dfdbbb47d18c94bff8bd0452326e6f5ce768f
)
source4/build/m4/check_ld.m4
patch
|
blob
|
history
diff --git
a/source4/build/m4/check_ld.m4
b/source4/build/m4/check_ld.m4
index c53cf5465b1065c4ad4298316322ded56f5d8260..ddda7e193b4ad0373400c9561905cc0fb597a26c 100644
(file)
--- a/
source4/build/m4/check_ld.m4
+++ b/
source4/build/m4/check_ld.m4
@@
-29,13
+29,7
@@
PICFLAG=""
# allow for --with-hostld=gcc
AC_ARG_WITH(hostld,[ --with-hostld=linker choose host linker],
[HOSTLD=$withval],
-[
-if test z"$cross_compiling" = "yes"; then
- HOSTLD='$(HOSTCC)'
-else
- HOSTLD='$(LD)'
-fi
-])
+[HOSTLD=$HOSTCC])
AC_MSG_CHECKING([whether to try to build shared libraries on $host_os])