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

Avoid accidentally using the host's native 'as' command. #8

Open
wants to merge 1 commit into
base: halium-5.1
Choose a base branch
from

Commits on Feb 14, 2018

  1. Avoid accidentally using the host's native 'as' command.

    When invoking clang for the host to assemble .S files, the -B flag
    would not be provided, which allowed the host prebuilt clang to
    use an 'as' from the native environment. Most of the time this
    "just works", but some newer 'as' versions cause problems with
    the older prebuilt toolchain, for example by generating
    unsupported relocation types.
    
    To avoid this problem, simply use the -B flag to tell clang to
    invoke the assembler from the correct prebuilt gcc prefix.
    
    Change-Id: I18ea4f37ae637b652cfd7321c41929f8be075342
    Signed-off-by: Alistair Strachan <[email protected]>
    Signed-off-by: Walid HAMMAMI <[email protected]>
    Alistair Strachan authored and walidham committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    6b6d1e1 View commit details
    Browse the repository at this point in the history