* gcc.c (HAVE_TARGET_EXECUTABLE_SUFFIX): Remove old kludge.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 30 Oct 2017 23:19:21 +0000 (23:19 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 30 Oct 2017 23:19:21 +0000 (23:19 +0000)
From-SVN: r254246

gcc/ChangeLog
gcc/gcc.c

index a32a5ce..26177cd 100644 (file)
@@ -1,3 +1,7 @@
+2017-10-30  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc.c (HAVE_TARGET_EXECUTABLE_SUFFIX): Remove old kludge.
+
 2017-10-30  Wilco Dijkstra  <wdijkstr@arm.com>
 
        * config/arm/arm.md (ashldi3): Remove shift by 1 expansion.
index 184f2b3..d74c537 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -170,9 +170,10 @@ env_manager::restore ()
 \f
 
 /* By default there is no special suffix for target executables.  */
-/* FIXME: when autoconf is fixed, remove the host check - dj */
-#if defined(TARGET_EXECUTABLE_SUFFIX) && defined(HOST_EXECUTABLE_SUFFIX)
+#ifdef TARGET_EXECUTABLE_SUFFIX
 #define HAVE_TARGET_EXECUTABLE_SUFFIX
+#else
+#define TARGET_EXECUTABLE_SUFFIX ""
 #endif
 
 /* By default there is no special suffix for host executables.  */