Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix llvm cross build for win on arm #983

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Commits on Jun 20, 2024

  1. Fix llvm cross build for win on arm

    I try to use clang for cross-compiling for the win on the arm.
    
    The problem is that llvm-windres, by default, uses the false build architecture.
    trcrsired authored Jun 20, 2024
    Configuration menu
    Copy the full SHA
    1fb9c4f View commit details
    Browse the repository at this point in the history
  2. Split parameters for CMAKE_RC_COMPILER

    The problem is that i try to pass -DCMAKE_RC_COMPILER="llvm-windres --target=$TARGETTRIPLE -I$SYSROOTPATH/include" for cross compiling to arm. this is not possible.
    
    Fix it by split parameters
    trcrsired authored Jun 20, 2024
    Configuration menu
    Copy the full SHA
    d54f7f8 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Update CMakeLists.txt

    split CMAKE_RC_FLAGS instead of CMAKE_RC_COMPILER
    trcrsired authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    43b635f View commit details
    Browse the repository at this point in the history