mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
91dc2ea40fc98e3f9e1ddcf395fa799e49612f26
Override CPPFLAGS to fix the following build failure with BR2_OPTIMIZE_0 raised since bump to version 0.14.0 in commitcd707a9112and0e7b2b0300: /home/autobuild/autobuild/instance-15/output-1/host/i686-buildroot-linux-gnu/sysroot/usr/include/features.h:412:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] configure adds -D_FORTIFY_SOURCE to CPPFLAGS if it is not already defined. However, we don't want _FORTIFY_SOURCE to be enabled unless it's enabled by Buildroot (for exactly the above reason). Therefore, override CPPFLAGS in th build step to remove _FORTIFY_SOURCE again. It should be noted that upstream already rejected a PR to remove -Werror: https://github.com/smuellerDD/libkcapi/pull/132 Fixes: - http://autobuild.buildroot.org/results/35141ea3046f5a4593e0b27ef92e4ace6bc0be66 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (cherry picked from commit83aeec71fd) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
…
…
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at http://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
Description
Languages
Makefile
62.5%
Python
19%
C
8.5%
Shell
6.1%
PHP
1.4%
Other
2.1%