sim: igen: delete unused FOR_BUILD vars

Message ID 20210222035353.25151-1-vapier@gentoo.org
State New
Headers show
Series
  • sim: igen: delete unused FOR_BUILD vars
Related show

Commit Message

Simon Marchi via Gdb-patches Feb. 22, 2021, 3:53 a.m.
---
 sim/igen/Makefile.in  |  3 ---
 sim/igen/configure    | 12 ------------
 sim/igen/configure.ac |  9 ---------
 3 files changed, 24 deletions(-)

-- 
2.30.0

Patch

diff --git a/sim/igen/Makefile.in b/sim/igen/Makefile.in
index 6e3f92890196..eced06584fdc 100644
--- a/sim/igen/Makefile.in
+++ b/sim/igen/Makefile.in
@@ -61,11 +61,8 @@  CC = @CC@
 CFLAGS = @CFLAGS@
 RANLIB = @RANLIB@
 
-AR_FOR_BUILD = @AR_FOR_BUILD@
-AR_FLAGS_FOR_BUILD = @AR_FLAGS_FOR_BUILD@
 CC_FOR_BUILD = @CC_FOR_BUILD@
 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
 
 WARN_CFLAGS = @WARN_CFLAGS@
 WERROR_CFLAGS = @WERROR_CFLAGS@
diff --git a/sim/igen/configure b/sim/igen/configure
index 38b8b8b4db34..f476f13896d0 100755
--- a/sim/igen/configure
+++ b/sim/igen/configure
@@ -623,11 +623,8 @@  ac_subst_vars='LTLIBOBJS
 LIBOBJS
 RANLIB
 AR
-RANLIB_FOR_BUILD
 CFLAGS_FOR_BUILD
 CC_FOR_BUILD
-AR_FLAGS_FOR_BUILD
-AR_FOR_BUILD
 EGREP
 GREP
 CPP
@@ -3072,17 +3069,11 @@  fi
 
 # Put a plausible default for CC_FOR_BUILD in Makefile.
 if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then
-  AR_FOR_BUILD='$(AR)'
-  AR_FLAGS_FOR_BUILD='$(AR_FLAGS)'
   CC_FOR_BUILD='$(CC)'
   CFLAGS_FOR_BUILD='$(CFLAGS)'
-  RANLIB_FOR_BUILD='$(RANLIB)'
 else
-  AR_FOR_BUILD=${AR_FOR_BUILD-ar}
-  AR_FLAGS_FOR_BUILD=${AR_FLAGS_FOR_BUILD-rc}
   CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
   CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-"-g"}
-  RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
 fi
 
 
@@ -3786,9 +3777,6 @@  fi
 
 
 
-
-
-
 if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
diff --git a/sim/igen/configure.ac b/sim/igen/configure.ac
index f93ca4ba469b..5f020cc24e0b 100644
--- a/sim/igen/configure.ac
+++ b/sim/igen/configure.ac
@@ -9,17 +9,11 @@  SIM_AC_OPTION_WARNINGS
 
 # Put a plausible default for CC_FOR_BUILD in Makefile.
 if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then
-  AR_FOR_BUILD='$(AR)'
-  AR_FLAGS_FOR_BUILD='$(AR_FLAGS)'
   CC_FOR_BUILD='$(CC)'
   CFLAGS_FOR_BUILD='$(CFLAGS)'
-  RANLIB_FOR_BUILD='$(RANLIB)'
 else
-  AR_FOR_BUILD=${AR_FOR_BUILD-ar}
-  AR_FLAGS_FOR_BUILD=${AR_FLAGS_FOR_BUILD-rc}
   CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
   CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-"-g"}
-  RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
 fi
 
 
@@ -32,11 +26,8 @@  AC_CONFIG_HEADER(config.h:config.in)
 AC_CHECK_HEADERS(sys/stat.h sys/types.h unistd.h)
 AC_HEADER_DIRENT
 
-AC_SUBST(AR_FOR_BUILD)
-AC_SUBST(AR_FLAGS_FOR_BUILD)
 AC_SUBST(CC_FOR_BUILD)
 AC_SUBST(CFLAGS_FOR_BUILD)
-AC_SUBST(RANLIB_FOR_BUILD)
 
 AC_SUBST(AR)
 AC_SUBST(CFLAGS)