git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b285d03
)
build: reset cpp on host with xlr_c and let pidl use $CC -E
author
Matthieu Patou
<mat@matws.net>
Fri, 10 Dec 2010 11:37:00 +0000
(14:37 +0300)
committer
Matthieu Patou
<mat@samba.org>
Fri, 10 Dec 2010 12:27:22 +0000
(13:27 +0100)
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Fri Dec 10 13:27:22 CET 2010 on sn-devel-104
buildtools/wafsamba/samba_pidl.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_pidl.py
b/buildtools/wafsamba/samba_pidl.py
index d0af9f27b4d650ea10f94e23c4001b31c6c6b473..79fc5b0a66a8a349ab913f71ef25c84690fa72c9 100644
(file)
--- a/
buildtools/wafsamba/samba_pidl.py
+++ b/
buildtools/wafsamba/samba_pidl.py
@@
-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]