mirror of
https://github.com/samba-team/samba.git
synced 2025-08-26 01:49:31 +03:00
build: reset cpp on host with xlr_c and let pidl use $CC -E
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Dec 10 13:27:22 CET 2010 on sn-devel-104
This commit is contained in:
committed by
Matthieu Patou
parent
b285d0304a
commit
d1bfa333f5
@ -66,6 +66,10 @@ def SAMBA_PIDL(bld, pname, source,
|
||||
else:
|
||||
cpp = "CPP=%s" % bld.CONFIG_GET("CPP")
|
||||
|
||||
if cpp == "xlr_c":
|
||||
cpp = ""
|
||||
|
||||
|
||||
if bld.CONFIG_SET("CC"):
|
||||
if isinstance(bld.CONFIG_GET("CC"), list):
|
||||
cc = "CC=%s" % bld.CONFIG_GET("CC")[0]
|
||||
|
Reference in New Issue
Block a user