diff --git a/srcpkgs/android-tools/patches/makefile.patch b/srcpkgs/android-tools/patches/makefile.patch index c257887529..c62baaa8e8 100644 --- a/srcpkgs/android-tools/patches/makefile.patch +++ b/srcpkgs/android-tools/patches/makefile.patch @@ -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 diff --git a/srcpkgs/android-tools/template b/srcpkgs/android-tools/template index b9130ab6e3..835ba69070 100644 --- a/srcpkgs/android-tools/template +++ b/srcpkgs/android-tools/template @@ -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.