From: Mike Frysinger Date: Mon, 22 Feb 2021 03:52:00 +0000 (-0500) Subject: sim: igen: delete unused FOR_BUILD vars X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ea3e81ca0ae70625d81b7e7e74781d406aadfbe;p=binutils-gdb.git sim: igen: delete unused FOR_BUILD vars --- diff --git a/sim/igen/ChangeLog b/sim/igen/ChangeLog index 5489e70baa3..5e31dcc1f89 100644 --- a/sim/igen/ChangeLog +++ b/sim/igen/ChangeLog @@ -1,3 +1,10 @@ +2021-02-28 Mike Frysinger + + * Makefile.in (AR_FOR_BUILD, AR_FLAGS_FOR_BUILD, + RANLIB_FOR_BUILD): Delete. + * configure.ac: Likewise. + * configure: Regenerate. + 2021-02-21 Mike Frysinger * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4. diff --git a/sim/igen/Makefile.in b/sim/igen/Makefile.in index 6e3f9289019..eced06584fd 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 38b8b8b4db3..f476f13896d 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 f93ca4ba469..5f020cc24e0 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)