summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorTorgeir Lerkerod <Torgeir.Lerkerod@gmail.com>2009-02-09 21:11:13 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-02-09 22:12:45 +0100
commit98a4327b19e83ffad4e0be7e8895fdbd9e48d49f (patch)
tree518eaa21adfaabd6225dc0e6a88a4ca5f21fb736 /source4/build
parentcc51cbc862055975bcef016876662576b00e72ef (diff)
downloadsamba-98a4327b19e83ffad4e0be7e8895fdbd9e48d49f.tar.gz
samba-98a4327b19e83ffad4e0be7e8895fdbd9e48d49f.tar.bz2
samba-98a4327b19e83ffad4e0be7e8895fdbd9e48d49f.zip
Fix errornos assumption that all compilers are gcc
When compiling Samba 4's IDL files buildsystem assumes that compiler knows about -xc, which is a gcc spesefic switch as this switch isn't needed on gcc either the flag was uneeded and can be removed. Thus no warnings on non gcc systems. Signed-off-by: Torgeir Lerkerod <Torgeir.Lerkerod@gmail.com> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/pasn1/asn1.yp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pasn1/asn1.yp b/source4/build/pasn1/asn1.yp
index 7fc834ff2b..24aef05b40 100644
--- a/source4/build/pasn1/asn1.yp
+++ b/source4/build/pasn1/asn1.yp
@@ -296,7 +296,7 @@ sub parse_asn1($$)
if (! defined $cpp) {
$cpp = "cpp"
}
- my $data = `$cpp -xc $filename`;
+ my $data = `$cpp $filename`;
$/ = $saved_delim;
$self->YYData->{INPUT} = $data;