 afe1bf11f2
			
		
	
	afe1bf11f2
	
	
	
		
			
			My original bpftools package made "variant" builds of bpftool and libbpf
as a convenience, since both used the same local kernel sources with the
same versioning. This is no longer the case, since the commit below
switched to using an out-of-tree build mirror hosting repos for each.
Replace bpftools with separate bpftool and libbpf packages, each simplified
and correctly versioned. Also fix the broken libbpf ABI introduced in the
same commit. Existing build .config files are not impacted.
Fixes: 00cbf6f6ab ("bpftools: update to standalone bpftools + libbpf, use the latest version")
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			338 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			338 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/src/Makefile
 | |
| +++ b/src/Makefile
 | |
| @@ -34,6 +34,7 @@ ALL_CFLAGS := $(INCLUDES)
 | |
|  
 | |
|  SHARED_CFLAGS += -fPIC -fvisibility=hidden -DSHARED
 | |
|  
 | |
| +CFLAGS = $(EXTRA_CFLAGS)
 | |
|  CFLAGS ?= -g -O2 -Werror -Wall -std=gnu89
 | |
|  ALL_CFLAGS += $(CFLAGS) -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $(EXTRA_CFLAGS)
 | |
|  ALL_LDFLAGS += $(LDFLAGS) $(EXTRA_LDFLAGS)
 |