From ead66ffddf215a697533880b1958bd2f2903572f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 7 Nov 2006 12:54:43 +0000 Subject: r19618: pass -D_SAMBA_HOSTCC_ when using the hostcompiler metze (This used to be commit 846553085e57bda44fda2a541bf00517d3586e8c) --- source4/build/smb_build/makefile.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/build/smb_build') diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 0158597f74..f763ccbc18 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -130,7 +130,9 @@ CPPFLAGS=$builddir_headers-I\$(srcdir)/include -I\$(srcdir) -I\$(srcdir)/lib -I\ CC=$self->{config}->{CC} CFLAGS=$self->{config}->{CFLAGS} \$(CPPFLAGS) PICFLAG=$self->{config}->{PICFLAG} + HOSTCC=$self->{config}->{HOSTCC} +HOSTCC_CFLAGS=-D_SAMBA_HOSTCC_ $self->{config}->{CFLAGS} \$(CPPFLAGS) INSTALL_LINK_FLAGS=-Wl,-rpath-link,\$(builddir)/bin/shared -- cgit