Skip to content

Commit

Permalink
remove -fno-rtti flag
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinFarmer committed Jun 2, 2023
1 parent f86235c commit 76bd4c2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ jobs:
cd opencv-${{ env.OPENCV_VERSION }}
mkdir build-ios && cd build-ios
cmake -DCMAKE_TOOLCHAIN_FILE=../../toolchains/ios.toolchain.cmake \
-DCMAKE_C_FLAGS="-fno-rtti" -DCMAKE_CXX_FLAGS="-fno-rtti" \
-DIOS_PLATFORM=OS -DENABLE_BITCODE=0 -DENABLE_ARC=0 -DENABLE_VISIBILITY=0 -DIOS_ARCH="armv7;arm64;arm64e" \
-DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Release `cat ../../opencv4_cmake_options.txt` -DBUILD_opencv_world=ON -DOPENCV_DISABLE_FILESYSTEM_SUPPORT=ON ..
cmake --build . -j 3
Expand All @@ -276,7 +275,6 @@ jobs:
cd opencv-${{ env.OPENCV_VERSION }}
mkdir build-simulator && cd build-simulator
cmake -DCMAKE_TOOLCHAIN_FILE=../../toolchains/ios.toolchain.cmake \
-DCMAKE_C_FLAGS="-fno-rtti" -DCMAKE_CXX_FLAGS="-fno-rtti" \
-DIOS_PLATFORM=SIMULATOR -DENABLE_BITCODE=0 -DENABLE_ARC=0 -DENABLE_VISIBILITY=0 -DIOS_ARCH="i386;x86_64;arm64" \
-DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Release `cat ../../opencv4_cmake_options.txt` -DBUILD_opencv_world=ON -DOPENCV_DISABLE_FILESYSTEM_SUPPORT=ON ..
cmake --build . -j 3
Expand Down

0 comments on commit 76bd4c2

Please sign in to comment.