mirror of git://gcc.gnu.org/git/gcc.git
jvspec.c (lang_specific_driver): Recognize -fsyntax-only and disable linking in that case.
* jvspec.c (lang_specific_driver): Recognize -fsyntax-only and disable linking in that case. From-SVN: r25389
This commit is contained in:
parent
4873b277ca
commit
4e2e5821aa
|
|
@ -1,3 +1,8 @@
|
||||||
|
1999-02-23 Tom Tromey <tromey@cygnus.com>
|
||||||
|
|
||||||
|
* jvspec.c (lang_specific_driver): Recognize -fsyntax-only and
|
||||||
|
disable linking in that case.
|
||||||
|
|
||||||
1999-02-20 Tom Tromey <tromey@cygnus.com>
|
1999-02-20 Tom Tromey <tromey@cygnus.com>
|
||||||
|
|
||||||
* jcf.h (UTF8_GET): Mask first byte of 3-byte encoding with 0x0f,
|
* jcf.h (UTF8_GET): Mask first byte of 3-byte encoding with 0x0f,
|
||||||
|
|
|
||||||
|
|
@ -315,6 +315,13 @@ lang_specific_driver (fn, in_argc, in_argv, in_added_libraries)
|
||||||
quote = argv[i];
|
quote = argv[i];
|
||||||
added -= 1;
|
added -= 1;
|
||||||
}
|
}
|
||||||
|
else if (strcmp (argv[i], "-fsyntax-only") == 0
|
||||||
|
|| strcmp (argv[i], "--syntax-only") == 0)
|
||||||
|
{
|
||||||
|
library = 0;
|
||||||
|
will_link = 0;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
/* Pass other options through. */
|
/* Pass other options through. */
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue