Skip to content

Commit

Permalink
Merge pull request #4 from yuchen0cc/master
Browse files Browse the repository at this point in the history
update build.sh
  • Loading branch information
liulanzheng authored Apr 14, 2023
2 parents 5294968 + a0cfbbd commit b4d19a0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

VERSION=v1.46.6-opt
VERSION=${1:-"v1.47.0-opt"}
ARCH=`uname -m`
RELEASE=`date "+%Y%m%d%H%M%S"`

Expand All @@ -14,8 +14,10 @@ fi

echo "build ..."
cd build
../configure --enable-elf-shlibs CFLAGS="-fPIC -O3" CXXFLAGS="-fPIC -O3" --prefix=`pwd`/${VERSION}
make -j
../configure --enable-elf-shlibs --disable-debugfs --disable-imager --disable-resizer --disable-defrag \
--disable-uuidd --disable-fuse2fs --disable-fsck --disable-e2initrd-helper \
CFLAGS="-fPIC -O3" CXXFLAGS="-fPIC -O3" --prefix=`pwd`/${VERSION}
make -j8
sudo make install

mkdir libext2fs libext2fs/include libext2fs/lib
Expand Down

0 comments on commit b4d19a0

Please sign in to comment.