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

Fix compiler/linker flags handling #76

Merged
merged 1 commit into from
Jul 11, 2016
Merged

Fix compiler/linker flags handling #76

merged 1 commit into from
Jul 11, 2016

Conversation

AMDmi3
Copy link
Contributor

@AMDmi3 AMDmi3 commented Jul 8, 2016

  • Make flags always overridable by user ({C,LD}FLAGS ?=)
  • Move customizable bits (-O*, -g*) into default CFLAGS/LDFLAGS, and leave mandatory ones in BASIC_{C,LD}FLAGS
  • Apply BASIC_{C,LD}FLAGS before {C,LD}FLAGS, because the latter may
    contain e.g. additional -I/-L paths and these should come after local
    ones such as -I./argparse

- Make flags always overridable by user ({C,LD}FLAGS ?=)
- Move customizable bits (-O, -g) into default CFLAGS/LDFLAGS, and leave mandatory ones in BASIC_{C,LD}FLAGS
- Apply BASIC_{C,LD}FLAGS before {C,LD}FLAGS, because the latter may
  contain e.g. additional -I/-L paths and these should come after local
  ones such as -I./argparse
@cofyc cofyc merged commit f44651f into cofyc:master Jul 11, 2016
@cofyc
Copy link
Owner

cofyc commented Jul 11, 2016

Thank you very much!

cofyc added a commit to cofyc/argparse that referenced this pull request Jul 11, 2016
@AMDmi3 AMDmi3 deleted the flag-handling-fixes branch July 11, 2016 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants