all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 449ee756977b2f204f15042ed0b9dc4327db97ae 624 bytes (raw)
name: gnu/packages/patches/visualboyadvance-m-use-gcc.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
---
 cmake/HostCompile.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/HostCompile.cmake b/cmake/HostCompile.cmake
index 8fea28be..23a1b0c2 100644
--- a/cmake/HostCompile.cmake
+++ b/cmake/HostCompile.cmake
@@ -15,7 +15,7 @@ function(host_compile src dst_cmd)
 
     if(NOT MSVC)
         # assume cc foo.c -o foo # will work on most hosts
-        set(compile_command cc ${src} -o ${dst} ${link_flags})
+        set(compile_command gcc ${src} -o ${dst} ${link_flags})
     else()
         # special case for Visual Studio
 	set(compile_command ${CMAKE_C_COMPILER} ${src} /link "/out:${dst}")

debug log:

solving 449ee75697 ...
found 449ee75697 in https://yhetil.org/guix/_jHX_rdAkHOB9IqHIQfXfggyuZwAL-8cC92ZuWnlLfjZtXdqUHY5XBLRjD32CGrxNx7uBzHJgAtN_YdHoifX1Y4Vhaayg_gWJX6wqPZDhx4=@protonmail.com/

applying [1/1] https://yhetil.org/guix/_jHX_rdAkHOB9IqHIQfXfggyuZwAL-8cC92ZuWnlLfjZtXdqUHY5XBLRjD32CGrxNx7uBzHJgAtN_YdHoifX1Y4Vhaayg_gWJX6wqPZDhx4=@protonmail.com/
diff --git a/gnu/packages/patches/visualboyadvance-m-use-gcc.patch b/gnu/packages/patches/visualboyadvance-m-use-gcc.patch
new file mode 100644
index 0000000000..449ee75697

1:16: trailing whitespace.
 
1:23: space before tab in indent.
 	set(compile_command ${CMAKE_C_COMPILER} ${src} /link "/out:${dst}")
Checking patch gnu/packages/patches/visualboyadvance-m-use-gcc.patch...
Applied patch gnu/packages/patches/visualboyadvance-m-use-gcc.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 449ee756977b2f204f15042ed0b9dc4327db97ae	gnu/packages/patches/visualboyadvance-m-use-gcc.patch

(*) 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.