Fix export of afl-clang-fast if already in PATH (#1773)
This commit is contained in:
parent
8164bfca96
commit
9b2a17896f
@ -12,13 +12,14 @@ then
|
|||||||
pushd AFLplusplus
|
pushd AFLplusplus
|
||||||
make
|
make
|
||||||
popd
|
popd
|
||||||
|
export CC="$(pwd)/AFLplusplus/afl-clang-fast"
|
||||||
|
export CXX="$(pwd)/AFLplusplus/afl-clang-fast++"
|
||||||
else
|
else
|
||||||
echo "afl-clang-fast already exists in PATH."
|
echo "afl-clang-fast already exists in PATH."
|
||||||
|
export CC="afl-clang-fast"
|
||||||
|
export CXX="afl-clang-fast++"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export CC="$(pwd)/AFLplusplus/afl-clang-fast"
|
|
||||||
export CXX="$(pwd)/AFLplusplus/afl-clang-fast++"
|
|
||||||
|
|
||||||
curl -C - https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.9.14/libxml2-v2.9.14.tar.gz --output libxml2-v2.9.14.tar.gz
|
curl -C - https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.9.14/libxml2-v2.9.14.tar.gz --output libxml2-v2.9.14.tar.gz
|
||||||
tar -xf ./libxml2-v2.9.14.tar.gz --transform s/libxml2-v2.9.14/libxml2/ || exit
|
tar -xf ./libxml2-v2.9.14.tar.gz --transform s/libxml2-v2.9.14/libxml2/ || exit
|
||||||
cd ./libxml2/ || exit
|
cd ./libxml2/ || exit
|
||||||
|
@ -12,12 +12,14 @@ then
|
|||||||
pushd AFLplusplus
|
pushd AFLplusplus
|
||||||
make
|
make
|
||||||
popd
|
popd
|
||||||
|
export CC="$(pwd)/AFLplusplus/afl-clang-fast"
|
||||||
|
export CXX="$(pwd)/AFLplusplus/afl-clang-fast++"
|
||||||
else
|
else
|
||||||
echo "afl-clang-fast already exists in PATH."
|
echo "afl-clang-fast already exists in PATH."
|
||||||
|
export CC="afl-clang-fast"
|
||||||
|
export CXX="afl-clang-fast++"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export CC="$(pwd)/AFLplusplus/afl-clang-fast"
|
|
||||||
export CXX="$(pwd)/AFLplusplus/afl-clang-fast++"
|
|
||||||
curl -C - https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.9.14/libxml2-v2.9.14.tar.gz --output libxml2-v2.9.14.tar.gz
|
curl -C - https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.9.14/libxml2-v2.9.14.tar.gz --output libxml2-v2.9.14.tar.gz
|
||||||
tar -xf ./libxml2-v2.9.14.tar.gz --transform s/libxml2-v2.9.14/libxml2/ || exit
|
tar -xf ./libxml2-v2.9.14.tar.gz --transform s/libxml2-v2.9.14/libxml2/ || exit
|
||||||
cd ./libxml2/ || exit
|
cd ./libxml2/ || exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user