From: Felix Dörre Date: Tue, 17 Feb 2015 00:51:11 +0000 (+0100) Subject: UPD: stabelize native build X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=4e534904db0c25e63bf0601f4f457078b6115e85 UPD: stabelize native build --- diff --git a/natives/Makefile b/natives/Makefile index 19ffac44..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 -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