fix x264 finite-math and capnproto -fPIC (#22)
This commit is contained in:
@@ -30,6 +30,8 @@ cmake -S capnproto-src -B "$DIR/build" \
|
||||
-DCMAKE_INSTALL_PREFIX="$PREFIX" \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||
-DCMAKE_C_FLAGS="-fPIC" \
|
||||
-DCMAKE_CXX_FLAGS="-fPIC" \
|
||||
-DWITH_OPENSSL=OFF \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
|
||||
@@ -35,7 +35,7 @@ if [ ! -d "x264-src" ]; then
|
||||
fi
|
||||
|
||||
cd x264-src
|
||||
./configure \
|
||||
CFLAGS="-fno-finite-math-only" ./configure \
|
||||
--prefix="$PREFIX" \
|
||||
--enable-static \
|
||||
--disable-shared \
|
||||
|
||||
Reference in New Issue
Block a user