Skip to content

Makefiles: use of CPPFLAGS #334

Description

@GitMensch

Currently CFLAGS is used for everything - shouldn't defines and include options all go to CPPFLAGS instead?

A side not, just to share, as I forgot about this:
make CFLAGS=something overrides CFLAGS in the makefile completely, while CFLAGS=something make actually extend those if CFLAGS += is used in the makefile (what we already do), so this specific option should not be passed to make but come from the environment.

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions