summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_pidl.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_pidl.py b/buildtools/wafsamba/samba_pidl.py
index d0af9f27b4..79fc5b0a66 100644
--- 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]