You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	build: Strip spurious labels
The implementation of 25cb0c1a involves lots of spurious labels.
The effect of keeping those labels around is making debugging harder.
Those labels are meaningless, and complicate the disassembly. Also,
gdb can't tell the difference between them and function entry points.
This new strip command is irrelevant to any usage of Libav that would
have used the old fully stripped version, because the old one was for
non-debug use.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
			
			
This commit is contained in:
		
				
					committed by
					
						 Derek Buitenhuis
						Derek Buitenhuis
					
				
			
			
				
	
			
			
			
						parent
						
							25cb0c1a1e
						
					
				
				
					commit
					e52567c295
				
			
							
								
								
									
										3
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								configure
									
									
									
									
										vendored
									
									
								
							| @@ -1974,6 +1974,7 @@ nm_default="nm -g" | ||||
| objformat="elf" | ||||
| pkg_config_default=pkg-config | ||||
| ranlib="ranlib" | ||||
| strip="strip" | ||||
| yasmexe="yasm" | ||||
|  | ||||
| nogas=":" | ||||
| @@ -2232,6 +2233,7 @@ cc_default="${cross_prefix}${cc_default}" | ||||
| nm_default="${cross_prefix}${nm_default}" | ||||
| pkg_config_default="${cross_prefix}${pkg_config_default}" | ||||
| ranlib="${cross_prefix}${ranlib}" | ||||
| strip="${cross_prefix}${strip}" | ||||
|  | ||||
| sysinclude_default="${sysroot}/usr/include" | ||||
|  | ||||
| @@ -4166,6 +4168,7 @@ AR=$ar | ||||
| ARFLAGS=$arflags | ||||
| AR_O=$ar_o | ||||
| RANLIB=$ranlib | ||||
| STRIP=$strip | ||||
| LN_S=$ln_s | ||||
| CPPFLAGS=$CPPFLAGS | ||||
| CFLAGS=$CFLAGS | ||||
|   | ||||
| @@ -25,6 +25,7 @@ $(SUBDIR)%-test.i: $(SUBDIR)%.c | ||||
| $(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm | ||||
| 	$(DEPYASM) $(YASMFLAGS) -I $(<D)/ -M -o $@ $< > $(@:.o=.d) | ||||
| 	$(YASM) $(YASMFLAGS) -I $(<D)/ -o $@ $< | ||||
| 	-@ $(if $(STRIP), $(STRIP) -wN '..@*' $@) | ||||
|  | ||||
| LIBOBJS := $(OBJS) $(SUBDIR)%.h.o $(TESTOBJS) | ||||
| $(LIBOBJS) $(LIBOBJS:.o=.i):   CPPFLAGS += -DHAVE_AV_CONFIG_H | ||||
|   | ||||
		Reference in New Issue
	
	Block a user