tools/xz: Compile with PIC to fix linking errors
I made a similar change to this here: https://github.com/openwrt/packages/pull/8159 However, it turns out this did not fix the problem as the problem has to do with tools/xz and not the xz package. The error is the same and causes linking errors as can be seen above. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
		 Rosen Penev
					Rosen Penev
				
			
				
					committed by
					
						 Christian Lamparter
						Christian Lamparter
					
				
			
			
				
	
			
			
			 Christian Lamparter
						Christian Lamparter
					
				
			
						parent
						
							0eef05fb36
						
					
				
				
					commit
					46dc4e206d
				
			| @@ -25,7 +25,8 @@ HOSTCXX := $(HOSTCXX_NOCACHE) | |||||||
| HOST_CONFIGURE_ARGS += \ | HOST_CONFIGURE_ARGS += \ | ||||||
| 	--enable-static=yes \ | 	--enable-static=yes \ | ||||||
| 	--enable-shared=no \ | 	--enable-shared=no \ | ||||||
| 	--disable-doc | 	--disable-doc \ | ||||||
|  | 	--with-pic | ||||||
|  |  | ||||||
| define Host/Install | define Host/Install | ||||||
| 	+$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) install xzlinks="unxz xzcat" | 	+$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) install xzlinks="unxz xzcat" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user