Fix build failure on glibc 2.28 where 'renameat2' would end up being declared twice: . From 625244ca47e8ee1375d2d0092271bfd13b0913ea Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Tue, 13 Nov 2018 17:52:48 +0100 Subject: [PATCH] meson.build: pass -D_GNU_SOURCE when checking for functions As described in #166, -D_GNU_SOURCE needs to be passed to the meson function availability checker. h/t to @tomeon for providing a link to the solution as well. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index f42ed16..c0f741e 100644 --- a/meson.build +++ b/meson.build @@ -78,6 +78,6 @@ foreach ident : [ ['copy_file_range', '''#include #include '''], ] - have = cc.has_function(ident[0], prefix : ident[1]) + have = cc.has_function(ident[0], args : '-D_GNU_SOURCE', prefix : ident[1]) conf.set10('HAVE_' + ident[0].to_upper(), have) endforeach /?id=4621cd7b8db00fd8230c8c5e51929f926aaf3795'>refslogtreecommitdiff
AgeCommit message (Expand)Author
2020-05-22doc: Update 'Bootstrapping' for further binary seed reduction....* doc/images/gcc-core-mesboot0-graph.dot: New image, replacing * doc/images/gcc-mesboot0-bag-graph.dot: ... remove file. * doc/local.mk (DOT_FILES): Update for new image file. * doc/guix.texi (Reduced Binary Seed Bootstrap): Use it in updated description of further reduction of the trusted computing base. Jan Nieuwenhuizen
2019-03-14Merge branch 'staging' into core-updatesMarius Bakke
2019-03-13doc: Document the graphical installer some more....* doc/guix.texi (Preparing for Installation): Rewrite to specify the two installation modes. (Guided Graphical Installation): New node. (Manual Installation): New node, with the former sections. (After System Installation): New node. * doc/images/installer-network.png, doc/images/installer-partitions.png, doc/images/installer-resume.png: New files. * doc/local.mk (dist_infoimage_DATA): Add them. Ludovic Courtès
2018-12-16doc: Update mesboot graph without bootstrap-guile....* doc/images/gcc-mesboot-bag-graph.dot: Update. Jan Nieuwenhuizen
2018-11-24doc: Update for bootstrap-mescc-tools change....* doc/guix.texi (Reduced Binary Seed Bootstrap): Update for bootstrap-mescc-tools change. * doc/images/gcc-mesboot-bag-graph.dot: Regenerate. Jan Nieuwenhuizen
2018-09-23doc: Describe the Reduced Binary Seed bootstrap....* doc/guix.texi (Reduced Binary Seed Bootstrap): New node. * doc/images/gcc-mesboot-bag-graph.dot: New file. * doc/local.mk (DOT_FILES): Add it. Jan Nieuwenhuizen
2016-12-17doc: Update dot graphs....* doc/images/bootstrap-packages.dot, doc/images/coreutils-bag-graph.dot, doc/images/coreutils-graph.dot, doc/images/shepherd-graph.dot: Regenerate. Ludovic Courtès