mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-08 12:50:52 +00:00
mtk: generate PIE executables
This commit is contained in:
parent
237daac54a
commit
b81e1fecff
@ -5,8 +5,8 @@ TOOLCHAIN = /usr/local/android-ndk
|
|||||||
SYSROOT = $(TOOLCHAIN)/sysroot
|
SYSROOT = $(TOOLCHAIN)/sysroot
|
||||||
GCC = $(TOOLCHAIN)/bin/arm-linux-androideabi-gcc
|
GCC = $(TOOLCHAIN)/bin/arm-linux-androideabi-gcc
|
||||||
STRIP = $(TOOLCHAIN)/bin/arm-linux-androideabi-strip
|
STRIP = $(TOOLCHAIN)/bin/arm-linux-androideabi-strip
|
||||||
CFLAGS = -march=armv7-a -mfloat-abi=softfp -I$(SYSROOT)/usr/include
|
CFLAGS = -march=armv7-a -mfloat-abi=softfp -I$(SYSROOT)/usr/include -fpie -fpic -fPIE -pie#
|
||||||
LDFLAGS = -Wl,--fix-cortex-a8 -L$(SYSROOT)/usr/lib
|
LDFLAGS = -Wl,--fix-cortex-a8 -L$(SYSROOT)/usr/lib -fpie -fpic -fPIE -pie
|
||||||
|
|
||||||
BTSTACK_ROOT = ../..
|
BTSTACK_ROOT = ../..
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user