mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
giotypefuncs.c: Sort _get_type functions in the 'C' locale
This ensures that the generated file is always the same (not dependent on the build machine's environment), making the build reproducible. Thanks to Jérémy Bobbio <lunar@debian.org> for the Debian bug report and patch. https://bugzilla.gnome.org/show_bug.cgi?id=763617
This commit is contained in:
parent
c7763d0712
commit
a668ee8fe9
@ -559,7 +559,7 @@ giotypefuncs.c: Makefile
|
||||
${CPP} $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) xgen-giosrc.c | \
|
||||
$(GREP) -o '\bg_[A-Za-z0-9_]*_get_type\b' | \
|
||||
$(GREP) -v 'g_io_extension_get_type\|g_variant_get_type' | \
|
||||
sort | uniq | \
|
||||
LC_ALL=C sort | uniq | \
|
||||
$(SED) -e 's/^/*tp++ = /' -e 's/$$/ ();/' >> xgen-gio && \
|
||||
cp xgen-gio $@ # && rm -f xgen-gio xgen-giosrc.c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user