android-tools: fix PIE build
This commit is contained in:
parent
cdf3578392
commit
d82c452eb7
|
@ -135,7 +135,7 @@ index 000000000000..00ce75b2f4ad
|
|||
+all: fastboot
|
||||
+
|
||||
+fastboot: $(OBJS)
|
||||
+ $(CC) -o $@ $(OBJS) $(LIBS)
|
||||
+ $(CC) -o $@ $(OBJS) $(LIBS) $(LDFLAGS)
|
||||
+
|
||||
+install: fastboot
|
||||
+ install -Dm755 fastboot $(DESTDIR)$(PREFIX)/bin/fastboot
|
||||
|
|
|
@ -5,7 +5,7 @@ _distver=5.1.1_r13
|
|||
# of android used by android-tools. Check for diff with:
|
||||
# curl -L http://git.io/vvC0Z | sh -s 5.0.2_r1 5.1.0_r1
|
||||
version=${_distver/_/}
|
||||
revision=2
|
||||
revision=3
|
||||
create_wrksrc=yes
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="git"
|
||||
|
@ -32,3 +32,7 @@ pre_build() {
|
|||
post_install() {
|
||||
vsv adb
|
||||
}
|
||||
|
||||
# REMARKS:
|
||||
# If there is any reason at all that fastboot may not be a position independent
|
||||
# executable, please document it here.
|
||||
|
|
Loading…
Reference in New Issue