summaryrefslogtreecommitdiffstats
path: root/package/systemd/0006-meson.build-fix-detection-of-Werror-shadow.patch
Commit message (Collapse)AuthorAgeFilesLines
* package/systemd: bump to v240Adam Duskett2018-12-261-34/+0
| | | | | | | | | | | | | | | | | | In addition: - Remove unused option -Dkill-path. (See commit 9a85778412fa3e3f8d4561064131ba69f3259b28) - Change option -Dmyhostname to -Dnss-myhostname. - Remove patches from upstream. - Update hash of README file. The changes are unrelated to licensing. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Tested-by: Jérémy Rosen <jeremy.rosen@smile.fr> [Thomas: update the hash of the README file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* systemd: fix build with gcc <= 4.7Fabrice Fontaine2018-11-291-0/+34
Pass -Werror=shadow in args of cc.compiles in meson.build otherwise test will always succeed, causing -Werror=shadow to be passed, even on older gcc versions. GCC 4.8 changed the behaviour of -Werror=shadow to no longer complain about local variable declariations shadowing functions, which systemd has. From the changelog: The option -Wshadow no longer warns if a declaration shadows a function declaration, unless the former declares a function or pointer to function, because this is a common and valid case in real-world code. https://www.gnu.org/software/gcc/gcc-4.8/changes.html Fixes: - http://autobuild.buildroot.org/results/ffd71c473d3b29618c18cd2e04705370266696f2 [Peter: extend commit message, add gcc 4.8 link] Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud