diff options
author | YamaArashi <shadow962@live.com> | 2016-02-08 03:04:42 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-02-08 03:04:42 -0800 |
commit | a5c638ceaca09d018d041f15e7e2518c217250bc (patch) | |
tree | 7374fe6cd30b24a25037dbdb259bbcf5300b13c2 /gcc/gcc.c | |
parent | 476b5c86e5bc21311dfb14d0f043fbf5b870781d (diff) |
remove Fortran, Objective C, and C++
Diffstat (limited to 'gcc/gcc.c')
-rwxr-xr-x | gcc/gcc.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -460,7 +460,7 @@ proper position among the other output files. */ #endif #ifndef LINKER_NAME -#define LINKER_NAME "collect2" +#define LINKER_NAME "ld" #endif static char *cpp_spec = CPP_SPEC; @@ -5523,13 +5523,6 @@ main (argc, argv) { int tmp = execution_count; - /* We'll use ld if we can't find collect2. */ - if (! strcmp (linker_name_spec, "collect2")) - { - char *s = find_a_file (&exec_prefixes, "collect2", X_OK); - if (s == NULL) - linker_name_spec = "ld"; - } /* Rebuild the COMPILER_PATH and LIBRARY_PATH environment variables for collect. */ putenv_from_prefixes (&exec_prefixes, "COMPILER_PATH="); |