X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Funzip;h=2013cc1327ab2c6c36c0aeedcdabd8f448581f09;hb=57629914e8dd6559c163093312bd51adf677ddb7;hp=15e7967eda1a14c4facf0e7c0d8531378d7c58ca;hpb=70df830214c97a68fcb7e89ae0d7df58c35590be;p=ipfire-2.x.git diff --git a/lfs/unzip b/lfs/unzip index 15e7967eda..2013cc1327 100644 --- a/lfs/unzip +++ b/lfs/unzip @@ -70,7 +70,12 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) +ifeq "$(MACHINE_TYPE)" "arm" + # ARM cannot use the x86 assembly code. + cd $(DIR_APP) && make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux_noasm +else cd $(DIR_APP) && make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux +endif cd $(DIR_APP) && make prefix=/usr install @rm -rf $(DIR_APP) @$(POSTBUILD)