aboutsummaryrefslogtreecommitdiff
path: root/flow-native
diff options
context:
space:
mode:
Diffstat (limited to 'flow-native')
-rw-r--r--flow-native/common.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/flow-native/common.mk b/flow-native/common.mk
index df7f389..f80afa7 100644
--- a/flow-native/common.mk
+++ b/flow-native/common.mk
@@ -23,10 +23,9 @@ PREFIX?=/usr/lib/jni
# Set CROSS_COMPILE to a gcc triplet
# when cross-compiling
#
-CC=$(CROSS_COMPILE)gcc
-LD=$(CROSS_COMPILE)ld
-CFLAGS= -O2 -fPIC -Wall
-LDFLAGS=
+CC?=$(CROSS_COMPILE)gcc
+LD?=$(CROSS_COMPILE)ld
+CFLAGS+= -O2 -fPIC -Wall
# JNI include directory