Skip to content

First apply board includes, then det. CC caps#722

Merged
OlegHahm merged 1 commit intoRIOT-OS:masterfrom
Kijewski:fixup-664
Feb 18, 2014
Merged

First apply board includes, then det. CC caps#722
OlegHahm merged 1 commit intoRIOT-OS:masterfrom
Kijewski:fixup-664

Conversation

@Kijewski
Copy link
Copy Markdown
Contributor

In #664 I added a test that determines if the supplied compiler
understands the -fno-delete-null-pointer-checks flag. The problem is
that the $(CC) supplied on command line or in the application's
Makefile is used, but not the one the $(BOARD)'s Makefile sets.

That problem was overlooked as all the boards use GCC, and GCC happens
to know the flag. But if some future board does not use GCC, then the
wrong order of the checks could pose a problem.

In #664 I added a test that determines if the supplied compiler
understands the `-fno-delete-null-pointer-checks` flag. The problem is
that the `$(CC)` supplied on command line or in the application's
Makefile is used, but not the one the `$(BOARD)`'s Makefile sets.

That problem was overlooked as all the boards use GCC, and GCC happens
to know the flag. But if some future board does not use GCC, then the
wrong order of the checks could pose a problem.
@OlegHahm
Copy link
Copy Markdown
Member

Sounds sensible.

@Kijewski
Copy link
Copy Markdown
Contributor Author

ACK anyone? It's a trivial change. :)

@OlegHahm
Copy link
Copy Markdown
Member

ACK and go.

OlegHahm added a commit that referenced this pull request Feb 18, 2014
First apply board includes, then det. CC caps
@OlegHahm OlegHahm merged commit c1bcfb3 into RIOT-OS:master Feb 18, 2014
@Kijewski Kijewski deleted the fixup-664 branch May 7, 2014 20:23
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.

2 participants