]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/unzip
make.sh: Cleanup of polluted environment
[ipfire-2.x.git] / lfs / unzip
index 7853dd0b4fa27dd9e6ceb26cf74bfc58b27b6e69..793890d2871b56f93238abd8437b09938f714389 100644 (file)
--- a/lfs/unzip
+++ b/lfs/unzip
@@ -72,7 +72,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && make -f unix/Makefile clean
        cd $(DIR_APP)/unix && ./configure
-ifeq "$(MACHINE)" "i586"
+ifeq "$(BUILD_ARCH)" "i586"
        cd $(DIR_APP) && make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 generic
 else
        # ARM/x86_64 cannot use the x86 32 bit assembly code.