diff options
author | Laurynas Biveinis <lauras@softhome.net> | 2001-03-04 09:08:25 +0000 |
---|---|---|
committer | Laurynas Biveinis <lauras@gcc.gnu.org> | 2001-03-04 09:08:25 +0000 |
commit | 91c704c4589f1d5e2a9d4cf3e070b56907cf5f61 (patch) | |
tree | a3560db6cd52c029f8e243143e9494e86f02061b /gcc/gcc.c | |
parent | ff37fbba4469dd42f34f4cdd8eecdbd6e42162ae (diff) | |
download | gcc-91c704c4589f1d5e2a9d4cf3e070b56907cf5f61.zip gcc-91c704c4589f1d5e2a9d4cf3e070b56907cf5f61.tar.gz gcc-91c704c4589f1d5e2a9d4cf3e070b56907cf5f61.tar.bz2 |
gcc.c (convert_filename): Append executable suffix if NO_AUTO_EXE_SUFFIX is not defined.
* gcc.c (convert_filename): Append executable suffix
if NO_AUTO_EXE_SUFFIX is not defined.
* gcc.texi: Document NO_AUTO_EXE_SUFFIX.
* config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.
From-SVN: r40229
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2888,7 +2888,7 @@ convert_filename (name, do_exe) } #endif -#ifdef HAVE_EXECUTABLE_SUFFIX +#if defined(HAVE_EXECUTABLE_SUFFIX) && !defined(NO_AUTO_EXE_SUFFIX) /* If there is no filetype, make it the executable suffix (which includes the "."). But don't get confused if we have just "-o". */ if (! do_exe || EXECUTABLE_SUFFIX[0] == 0 || (len == 2 && name[0] == '-')) |