Skip to content

Commit

Permalink
Add $CONFIGURE_ARGS variable to pas arguments to jerasure/gf configure
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagabond committed Nov 13, 2018
1 parent 2289eda commit ab0595a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c_src/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fi
if [ ! -d build ]; then
mkdir build
./autogen.sh
./configure --prefix=`pwd`/build --with-pic
./configure --prefix=`pwd`/build --with-pic $CONFIGURE_ARGS
fi

if [ ! -f build/lib/libgf_complete.a ]; then
Expand All @@ -48,7 +48,7 @@ fi
if [ ! -d build ]; then
mkdir build
autoreconf --force --install
LDFLAGS="-L`pwd`/../gf-complete/build/lib -fPIC" CPPFLAGS="-I`pwd`/../gf-complete/build/include" ./configure --prefix=`pwd`/build --enable-static --with-pic
LDFLAGS="-L`pwd`/../gf-complete/build/lib -fPIC" CPPFLAGS="-I`pwd`/../gf-complete/build/include" ./configure --prefix=`pwd`/build --enable-static --with-pic $CONFIGURE_ARGS
fi

if [ ! -f build/lib/libJerasure.a ]; then
Expand Down

0 comments on commit ab0595a

Please sign in to comment.