git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: reset cpp on host with xlr_c and let pidl use $CC -E
[metze/samba/wip.git]
/
buildtools
/
wafsamba
/
samba_pidl.py
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]