diff options
author | Josselin Poiret <dev@jpoiret.xyz> | 2023-03-20 23:10:42 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-03-30 12:44:19 +0200 |
commit | c78fd5a25d6ee627905144b2d1ecde7a09e35e43 (patch) | |
tree | f08cb0f4b775ab9c5f554c54772fea855778272d /gnu/packages/patches/mig-cpu.h-generation.patch | |
parent | 5661f75d4981544ebb99dc54df6e5cc9d3d7bb98 (diff) | |
download | guix-c78fd5a25d6ee627905144b2d1ecde7a09e35e43.tar guix-c78fd5a25d6ee627905144b2d1ecde7a09e35e43.tar.gz |
gnu: mig: Update to 1.8+git20220827.
* gnu/packages/hurd.scm (mig): Do it.
* gnu/packages/patches/mig-cpu.h-generation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/patches/mig-cpu.h-generation.patch')
-rw-r--r-- | gnu/packages/patches/mig-cpu.h-generation.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/mig-cpu.h-generation.patch b/gnu/packages/patches/mig-cpu.h-generation.patch new file mode 100644 index 0000000000..3030eaeaa6 --- /dev/null +++ b/gnu/packages/patches/mig-cpu.h-generation.patch @@ -0,0 +1,16 @@ +Backport MiG commit 73fbf2504ae606dda81372701a67dad6fee0865e: + + From: Flavio Cruz <flaviocruz@gmail.com> + Subject: Generate cpu.h with -ffreestanding + +--- a/Makefile.in 2023-03-26 23:02:51.384318331 +0200 ++++ b/Makefile.in 2023-03-26 23:03:03.300329369 +0200 +@@ -1051,7 +1051,7 @@ uninstall-am: uninstall-binSCRIPTS unins + .sym.symc: + $(AWK_V) $(AWK) -f $(srcdir)/gensym.awk $< > $@ + .symc.symo: +- $(AM_V_CC) $(TARGET_CC) -S $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -x c -o $@ $< ++ $(AM_V_CC) $(TARGET_CC) -S $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -ffreestanding -x c -o $@ $< + .symo.h: + $(AM_V_GEN) sed -e '/^[^*].*$$/d' -e 's/^[*]/#define/' -e 's/mAgIc[^-0-9]*//' \ + $< > $@ |