mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-19 03:06:28 +00:00
Pass PIE flags for compiling on Android L
This commit is contained in:
parent
98ffa90b72
commit
fd0b7eda59
@ -49,6 +49,8 @@ ifdef SERVALD_WRAP
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_SRC_FILES:= servalwrap.c
|
||||
LOCAL_MODULE:= servald
|
||||
LOCAL_CFLAGS += -fPIE
|
||||
LOCAL_LDFLAGS += -fPIE -pie
|
||||
include $(BUILD_EXECUTABLE)
|
||||
endif
|
||||
|
||||
@ -60,5 +62,7 @@ ifdef SERVALD_SIMPLE
|
||||
LOCAL_LDLIBS := $(SERVALD_LOCAL_LDLIBS)
|
||||
LOCAL_STATIC_LIBRARIES := $(SERVALD_LOCAL_STATIC_LIBRARIES)
|
||||
LOCAL_MODULE:= servaldsimple
|
||||
LOCAL_CFLAGS += -fPIE
|
||||
LOCAL_LDFLAGS += -fPIE -pie
|
||||
include $(BUILD_EXECUTABLE)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user