Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build: use gcc-provided ar, nm and ranlib where appropriate | Felix Fietkau | 2014-12-27 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since GCC 4.7, GCC provides its own wrappers around ar, nm and ranlib, which should be used for builds with link-time optimization. Since GCC 4.9, using them actually necessary for LTO builds using convenience libraries to succeed. There are some packages which try to automatically detect if gcc-{ar,nm,ranlib} exist (one example is my package "fastd" in the package repository, which tries to use LTO). This breaks because the OpenWrt build system explicitly sets the binutils versions of these tools. As it doesn't cause any issues to use gcc-{ar,nm,ranlib} instead of {ar,nm,ranlib} even without LTO, this patch just makes OpenWrt use the GCC-provided versions by default, which fixes the build of such packages with GCC 4.9. (I know that builds fail though when clang is used with -flto and gcc-{ar,nm,ranlib}, but as all OpenWrt toolchains are based on GCC, this isn't a real issue.) Completely cleaning the tree (or at least `make clean toolchain/clean`) is necessary to get a consistent state after the binutils plugins support patch and this one (as trying to use gcc-{ar,nm,ranlib} with a binutils built without plugin support will definitely lead to a build failure). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 43784 | ||||
* | include/cmake.mk: fix indentation | Felix Fietkau | 2014-06-11 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41144 | ||||
* | include/cmake.mk: define CMAKE_AR and CMAKE_RANLIB to fix build errors | Felix Fietkau | 2014-05-30 | 1 | -11/+14 |
| | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40885 | ||||
* | cmake.mk: fix support for ccache | Felix Fietkau | 2013-11-18 | 1 | -2/+2 |
| | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38853 | ||||
* | include: cmake: pass toolchain directory to default root find path as well | Jo-Philipp Wich | 2013-08-07 | 1 | -1/+1 |
| | | | | SVN-Revision: 37737 | ||||
* | cmake.mk: add support for overriding the source dir, and define the cmake ↵ | Felix Fietkau | 2012-12-29 | 1 | -1/+4 |
| | | | | | | prefix path to avoid picking up host libraries for target builds (patch by Henning Rogge) SVN-Revision: 34914 | ||||
* | cmake: add support for V=cs | Felix Fietkau | 2012-04-26 | 1 | -1/+3 |
| | | | | SVN-Revision: 31485 | ||||
* | cmake.mk: fix passing of LDFLAGS | Jo-Philipp Wich | 2012-01-09 | 1 | -3/+4 |
| | | | | SVN-Revision: 29701 | ||||
* | cmake: fix ccache command when using host ccache (patch from #9611) | Felix Fietkau | 2011-07-24 | 1 | -2/+6 |
| | | | | SVN-Revision: 27742 | ||||
* | cmake.mk: fix bogus values for FIND_ROOT_PATH_MODE_*; kept plplot from ↵ | Jo-Philipp Wich | 2011-06-22 | 1 | -3/+3 |
| | | | | | | compiling (#9573) SVN-Revision: 27256 | ||||
* | add LD_LIBRARY to cmake.mk | Felix Fietkau | 2011-05-20 | 1 | -0/+1 |
| | | | | | | | | Otherwise cmake programs try to link with host ld.so Signed-off-by: Jan Willies <jan@willies.info> SVN-Revision: 26963 | ||||
* | cmake.mk: don't assume toolchain binaries in .../bin/ if an external ↵ | Jo-Philipp Wich | 2011-04-11 | 1 | -0/+7 |
| | | | | | | toolchain is used, rely on `which` instead SVN-Revision: 26584 | ||||
* | cmake: Fix ccache | Michael Büsch | 2011-03-05 | 1 | -2/+16 |
| | | | | SVN-Revision: 25878 | ||||
* | cmake: Pass VERBOSE=1 to the generated makefile to reveal flags and commands ↵ | Michael Büsch | 2011-02-05 | 1 | -0/+2 |
| | | | | | | in a verbose openwrt build. SVN-Revision: 25376 | ||||
* | cmake: Remove -O3 from release CFLAGS. Honor the OpenWRT -Os flag instead. | Michael Büsch | 2011-02-05 | 1 | -0/+2 |
| | | | | SVN-Revision: 25372 | ||||
* | add a template for cmake packages | Felix Fietkau | 2011-01-31 | 1 | -0/+33 |
SVN-Revision: 25265 |