[Buildroot] [PATCH v2 5/5] toolchainfile.cmake.in: do not force the CMAKE_{C, CXX}_FLAGS to the cache

Peter Korsgaard jacmet at uclibc.org
Sun Sep 28 19:11:52 UTC 2014


>>>>> "Samuel" == Samuel Martin <s.martin49 at gmail.com> writes:

 > Fix #7280 [1]
 > When the FORCE option is passed to the set command, the variable is
 > added/updated in the CMake cache every single time CMake processes this
 > command.

 > Because the toolchainfile.cmake prepends architecture/toolchain flags
 > to the CMAKE_{C,CXX}_FLAGS, this makes the CFLAGS being updated in the
 > generated Makefiles each time one reconfigures its project. So it
 > forces the compilation of everything, even when nothing has changed.

 > [1] https://bugs.busybox.net/show_bug.cgi?id=7280

 > Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
 > Tested-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
 > (tested the SimpleApp reproduction scenario described in the bug report)

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list