X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=natives%2FMakefile;h=3fbf922b64918965c626c480189f48f060c50e14;hp=f472ab27c56be880d54761b2f6ea698a8f609739;hb=929352b2603bd011c48119d8d75a1a00a3889ca8;hpb=4d9616027ef98e887552807fd398578c1cc4a737 diff --git a/natives/Makefile b/natives/Makefile index f472ab27..3fbf922b 100644 --- a/natives/Makefile +++ b/natives/Makefile @@ -1,10 +1,10 @@ JAVA_HOME=/usr/lib/jvm/default-java SYSTEM= $(shell uname | awk '{print tolower($$0)}') -JAVAH?=javah -CC?=gcc -CFLAGS?=-O3 -g -flto -Wall -Werror -Wextra -pedantic -fsanitize=address -fPIC +JAVAH=javah +CC=gcc +CFLAGS=-O3 -g -flto -Wall -Werror -Wextra -pedantic -fPIC CFLAGS+=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/$(SYSTEM) -LDFLAGS?=-shared +LDFLAGS=-shared all: libsetuid.so