strace: fix build on aarch64
As of version 4.21, strace enforces mpers by default. The current
implementation of aarch64 compat in strace assumes it's identical to
ARMv7 EABI and therefore tries to enable m32 personality support. As
there is no -m32 support on aarch64, this causes the build to fail.
Restore previous strace behavior to fix build on aarch64.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Tested-by: Karl Palsson <karlp@tweak.net.au>
(backported from 067e2f5f1d)
			
			
This commit is contained in:
		
				
					committed by
					
						
						Jo-Philipp Wich
					
				
			
			
				
	
			
			
			
						parent
						
							8cac88af4b
						
					
				
				
					commit
					0dbafc3a3a
				
			@@ -30,6 +30,10 @@ include $(INCLUDE_DIR)/package.mk
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
HOST_CFLAGS += -I$(LINUX_DIR)/user_headers/include
 | 
					HOST_CFLAGS += -I$(LINUX_DIR)/user_headers/include
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ifeq ($(ARCH),aarch64)
 | 
				
			||||||
 | 
					  CONFIGURE_ARGS += --enable-mpers=check
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CONFIGURE_VARS+= \
 | 
					CONFIGURE_VARS+= \
 | 
				
			||||||
	LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
 | 
						LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
 | 
				
			||||||
	CPPFLAGS_FOR_BUILD="$(HOST_CPPFLAGS)" \
 | 
						CPPFLAGS_FOR_BUILD="$(HOST_CPPFLAGS)" \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user