mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-10-27 02:41:54 +08:00 
			
		
		
		
	configure: toolchain-tsan does not need -fPIE.
Fixes compilation with some kernel-gcc combinations: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67308 Reported and analyzed by Gonzalo Garramuño.
This commit is contained in:
		
							
								
								
									
										4
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								configure
									
									
									
									
										vendored
									
									
								
							| @@ -3973,8 +3973,8 @@ case "$toolchain" in | |||||||
|     ;; |     ;; | ||||||
|     *-tsan) |     *-tsan) | ||||||
|         cc_default="${toolchain%-tsan}" |         cc_default="${toolchain%-tsan}" | ||||||
|         add_cflags  -fsanitize=thread -fPIE |         add_cflags  -fsanitize=thread | ||||||
|         add_ldflags -fsanitize=thread -pie |         add_ldflags -fsanitize=thread | ||||||
|         case "$toolchain" in |         case "$toolchain" in | ||||||
|             gcc-tsan) |             gcc-tsan) | ||||||
|                 add_cflags  -fPIC |                 add_cflags  -fPIC | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Carl Eugen Hoyos
					Carl Eugen Hoyos