all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 3030eaeaa690eff6411d42bddc9d843288c15d81 678 bytes (raw)
name: gnu/packages/patches/mig-cpu.h-generation.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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]*//' \
 	    $< > $@

debug log:

solving 3030eaeaa6 ...
found 3030eaeaa6 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.