Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 394
    • Issues 394
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Merge requests
  • !113

Adjustments for AppleClang needed from Mojave onwards

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Sven-Bodo Scholz requested to merge sbs/sac2c:develop into develop Feb 13, 2020
  • Overview 3
  • Commits 2
  • Pipelines 1
  • Changes 3

While Cmake automatically adjusts the cc calls for building the main compiler, the cc calls we generate through saccc have to be adjusted to the needs of the latest incarnation of Apple Clang.

The main problem is that when cc is called with the full path, -isysroot needs to be provided to allow the compiler to find the standard includes such as <memory.h>. Without that flag, the compiler looks in /usr/include, which, as of lately, no longer exist on MacOS systems.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: develop