[4/4] strace: add --enable-mpers=check to configure to fix problem from binutils-2.36.1

Message ID 20210421212626.2729436-4-adolf.belka@ipfire.org
State Accepted
Headers
Series [1/4] binutils: Update to 2.36.1 |

Commit Message

Adolf Belka April 21, 2021, 9:26 p.m. UTC
  - Default is --enable-mpers=yes but updated binutils means m32 can not be
   used. Change to --enable-mpers=check will not stop if m32 is not usable
- Thanks to Michael Tremer for guidance on this change

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 lfs/strace | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/lfs/strace b/lfs/strace
index cfce835ec..96430ad80 100644
--- a/lfs/strace
+++ b/lfs/strace
@@ -33,7 +33,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = strace
-PAK_VER    = 5
+PAK_VER    = 6
 
 DEPS       = elfutils
 
@@ -78,7 +78,7 @@  $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && ./configure --prefix=/usr
+	cd $(DIR_APP) && ./configure --prefix=/usr --enable-mpers=check
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	@rm -rf $(DIR_APP)