From 98a4327b19e83ffad4e0be7e8895fdbd9e48d49f Mon Sep 17 00:00:00 2001 From: Torgeir Lerkerod Date: Mon, 9 Feb 2009 21:11:13 +0100 Subject: 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 Signed-off-by: Jelmer Vernooij --- source4/build/pasn1/asn1.yp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/build') diff --git a/source4/build/pasn1/asn1.yp b/source4/build/pasn1/asn1.yp index 7fc834ff2b7..24aef05b403 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; -- cgit v1.2.1