android-tools: fix PIE build
This commit is contained in:
parent
cdf3578392
commit
d82c452eb7
2 changed files with 6 additions and 2 deletions
|
@ -135,7 +135,7 @@ index 000000000000..00ce75b2f4ad
|
||||||
+all: fastboot
|
+all: fastboot
|
||||||
+
|
+
|
||||||
+fastboot: $(OBJS)
|
+fastboot: $(OBJS)
|
||||||
+ $(CC) -o $@ $(OBJS) $(LIBS)
|
+ $(CC) -o $@ $(OBJS) $(LIBS) $(LDFLAGS)
|
||||||
+
|
+
|
||||||
+install: fastboot
|
+install: fastboot
|
||||||
+ install -Dm755 fastboot $(DESTDIR)$(PREFIX)/bin/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:
|
# 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
|
# curl -L http://git.io/vvC0Z | sh -s 5.0.2_r1 5.1.0_r1
|
||||||
version=${_distver/_/}
|
version=${_distver/_/}
|
||||||
revision=2
|
revision=3
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="git"
|
hostmakedepends="git"
|
||||||
|
@ -32,3 +32,7 @@ pre_build() {
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv adb
|
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 a new issue