Commit 5af6211e authored by nanahira's avatar nanahira

fix

parent eaf7afc7
Pipeline #34316 passed with stages
in 5 minutes and 52 seconds
......@@ -11,9 +11,9 @@ if [ "$(uname)" = "Darwin" ]; then
is_macos=true
fi
maybe_patch_configure_output() {
maybe_patch_configure() {
if $is_macos; then
sed -i.bak 's/-force_cpusubtype_ALL//g' *
sed -i.bak 's/-force_cpusubtype_ALL//g' configure*
fi
}
......@@ -21,8 +21,8 @@ build_single_thing() {
lib_name="$1"
cd "external/$lib_name"
shift
maybe_patch_configure
PKG_CONFIG_PATH="$external_built_dir/lib/pkgconfig" ./configure --prefix="$external_built_dir" --enable-static=yes --enable-shared=no "$@"
maybe_patch_configure_output
make -j$(nproc)
make install
cd ../..
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment