Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,771
    • Issues 2,771
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 930
    • Merge requests 930
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Merge requests
  • !362

scons: Fix MSYS2 Mingw-w64 build (toolchain=mingw)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Prodea Alexandru-Liviu requested to merge pal1000/mesa:msys2-mingw-w64-fix into master Mar 01, 2019
  • Overview 18
  • Commits 1
  • Pipelines 12
  • Changes 3

This patch is based on https://github.com/msys2/MINGW-packages/blob/28e3f85e09b6947ea80036c49f6c38f1394f93ca/mingw-w64-mesa/link-ole32.patch but with tweaks to avoid MSVC build break when applied.

v2: Create Mingw platform alias pointing to windows host platform define to avoid spurious "crosscompilation";

v3: Fix obviously wrong compiler flags for swr driver. There is more work to do for swr build to be successful though.

v4: Update original patch URL because it has been relocated.

v5: Don't bother patching autools stuff as it's not used by MSYS2 Mingw-w64 build and its days are numbered anyway;

v6: After Mingw posix flag fix in 295851eb things are far simpler as we don't need more linking of uuid, ole32, version and shell32 than what is already in place.

Edited Sep 27, 2019 by Prodea Alexandru-Liviu
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: msys2-mingw-w64-fix