Skip to content

Commit

Permalink
test: switched to using apt installed headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Notselwyn committed Sep 11, 2024
1 parent 7d25ba8 commit c947564
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ OUT_NAME = ./exploit

# use musl-gcc since statically linking glibc with gcc generated invalid opcodes for qemu
# and dynamically linking raised glibc ABI versioning errors
#CC = musl-gcc
CC = gcc
CC = musl-gcc

# use custom headers with fixed versions in a musl-gcc compatible manner
# - ./include/libmnl: libmnl v1.0.5
# - ./include/libnftnl: libnftnl v1.2.6
# - ./include/linux-lts-6.1.72: linux v6.1.72
#CFLAGS = -I./include -I./include/linux-lts-6.1.72 -Wall -Wno-deprecated-declarations
CFLAGS = -Wall -Wno-deprecated-declarations
#CFLAGS = -Wall -Wno-deprecated-declarations
CFLAGS = -I/usr/include/libmnl -I/usr/include/libnftnl -I./include/linux-lts-6.1.72 -Wall -Wno-deprecated-declarations

# use custom object archives compiled with musl-gcc for compatibility. normal ones
# are used with gcc and have _chk funcs which musl doesn't support
Expand Down

0 comments on commit c947564

Please sign in to comment.