Makefile: sort inputs to linker so that build is reproducible
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
		
							parent
							
								
									64576f9a06
								
							
						
					
					
						commit
						3a3a56e217
					
				@ -75,7 +75,7 @@ COMPILE.c = @echo "  CC      $@";
 | 
				
			|||||||
COMPILE.c += $(BUILT_IN_COMPILE.c)
 | 
					COMPILE.c += $(BUILT_IN_COMPILE.c)
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
wg: $(patsubst %.c,%.o,$(wildcard *.c))
 | 
					wg: $(sort $(patsubst %.c,%.o,$(wildcard *.c)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifneq ($(V),1)
 | 
					ifneq ($(V),1)
 | 
				
			||||||
clean:
 | 
					clean:
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user