* collect2.c (main): Use "-x c" instead of "-lang-c" for force the
compiler into C mode.
From-SVN: r21087
+Sun Jul 12 13:08:14 1998 Jeffrey A Law (law@cygnus.com)
+
+ * collect2.c (main): Use "-x c" instead of "-lang-c" for force the
+ compiler into C mode.
+
Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com>
* cplus-dem.c (demangle_nested_args): Return a value.
char **object_lst = (char **) xcalloc (sizeof (char *), argc);
char **object = object_lst;
int first_file;
- int num_c_args = argc+8;
+ int num_c_args = argc+9;
#ifdef DEBUG
debug = 1;
#endif
ldout = make_temp_file (".ld");
*c_ptr++ = c_file_name;
- *c_ptr++ = "-lang-c";
+ *c_ptr++ = "-x";
+ *c_ptr++ = "c";
*c_ptr++ = "-c";
*c_ptr++ = "-o";
*c_ptr++ = o_file;