svn commit: samba r8532 - in branches/SAMBA_4_0/source: build/m4
heimdal_build
tridge at samba.org
tridge at samba.org
Mon Jul 18 00:06:13 GMT 2005
Author: tridge
Date: 2005-07-18 00:06:12 +0000 (Mon, 18 Jul 2005)
New Revision: 8532
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8532
Log:
this miight fix cross compilation for reactos
Modified:
branches/SAMBA_4_0/source/build/m4/check_cc.m4
branches/SAMBA_4_0/source/heimdal_build/config.mk
Changeset:
Modified: branches/SAMBA_4_0/source/build/m4/check_cc.m4
===================================================================
--- branches/SAMBA_4_0/source/build/m4/check_cc.m4 2005-07-17 21:01:17 UTC (rev 8531)
+++ branches/SAMBA_4_0/source/build/m4/check_cc.m4 2005-07-18 00:06:12 UTC (rev 8532)
@@ -103,3 +103,7 @@
AC_MSG_WARN([cannot run when cross-compiling]))
CFLAGS="${OLD_CFLAGS}"
fi
+
+# allow for --with-hostcc=gcc
+AC_ARG_WITH(hostcc,[Choose host compiler],[HOSTCC=$withval],[HOSTCC=$CC])
+AC_SUBST(HOSTCC)
Modified: branches/SAMBA_4_0/source/heimdal_build/config.mk
===================================================================
--- branches/SAMBA_4_0/source/heimdal_build/config.mk 2005-07-17 21:01:17 UTC (rev 8531)
+++ branches/SAMBA_4_0/source/heimdal_build/config.mk 2005-07-18 00:06:12 UTC (rev 8532)
@@ -384,7 +384,7 @@
#######################
# Start TARGET HEIMDAL_EXTERNAL
[TARGET::HEIMDAL_EXTERNAL]
-CMD = heimdal_build/build_external.sh "@CC@" "@LEX@" "@YACC@"
+CMD = heimdal_build/build_external.sh "@HOSTCC@" "@LEX@" "@YACC@"
REQUIRED_SUBSYSTEMS = ASN1_COMPILER
# END TARGET HEIMDAL_EXTERNAL
#######################
More information about the samba-cvs
mailing list