[riot-commits] [RIOT-OS/RIOT] caea06: Do not mandate input language
René Kijewski
kijewski at mi.fu-berlin.de
Fri Feb 14 14:39:47 CET 2014
Branch: refs/heads/master
Home: https://github.com/RIOT-OS/RIOT
Commit: caea069bcf9023bc12901b87a347b4d613e9ac73
https://github.com/RIOT-OS/RIOT/commit/caea069bcf9023bc12901b87a347b4d613e9ac73
Author: René Kijewski <rene.kijewski at fu-berlin.de>
Date: 2014-02-13 (Thu, 13 Feb 2014)
Changed paths:
M Makefile.include
M boards/chronos/Makefile.include
M boards/mbed_lpc1768/Makefile.include
M boards/msb-430-common/Makefile.include
M boards/msba2-common/Makefile.include
M boards/native/Makefile.include
M boards/redbee-econotag/Makefile.include
M boards/telosb/Makefile.include
M boards/wsn430-common/Makefile.include
Log Message:
-----------
Do not mandate input language
An application might want to use C11 features. The user would assume
that setting `CFLAGS=-std=gnu11` in the Makefile would work. It does not
since the board's Makefile.include shadows the `-std` flag.
This patch removes the `-std=gnu99` from the various Makefile.includes,
and sets the flag in the common Makefile.include of RIOT instead.
If an `-std` flag was provided by an earlier Makefile (the application,
the board, or the CPU [whilst only the former one should]), then no
additional flag is set. It is first tested if the supplied compiler
understands `-std=gnu99`, then `-std=c99`.
Commit: 7f4fb027dbbedd52b45a24756baaf255f4729fa8
https://github.com/RIOT-OS/RIOT/commit/7f4fb027dbbedd52b45a24756baaf255f4729fa8
Author: René Kijewski <kijewski at mi.fu-berlin.de>
Date: 2014-02-14 (Fri, 14 Feb 2014)
Changed paths:
M Makefile.include
M boards/chronos/Makefile.include
M boards/mbed_lpc1768/Makefile.include
M boards/msb-430-common/Makefile.include
M boards/msba2-common/Makefile.include
M boards/native/Makefile.include
M boards/redbee-econotag/Makefile.include
M boards/telosb/Makefile.include
M boards/wsn430-common/Makefile.include
Log Message:
-----------
Merge pull request #692 from Kijewski/std-flag
Do not mandate input language
Compare: https://github.com/RIOT-OS/RIOT/compare/8a23d621d7e4...7f4fb027dbbe
More information about the commits
mailing list