]> WPIA git - gigi.git/blobdiff - natives/Makefile
Set Java hunk header for *.java files
[gigi.git] / natives / Makefile
index faf073cd5b28b122db35e7ebf407430354d7a900..3fbf922b64918965c626c480189f48f060c50e14 100644 (file)
@@ -1,9 +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