Skip to content

cmd/dist: support HOST_CFLAGS/HOST_LDFLAGS for building 6g/6l/etc. #2978

Description

@dsymonds
If you want to pass, say, -fstack-protector-all to the C compiler, then you can mostly
do it by wedging that in to the CC environment variable. However, that's a bit messy,
and there's no way to pass extra flags to the C linker.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions