diff options
author | rene <rene@FreeBSD.org> | 2011-07-31 17:12:33 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2011-07-31 17:12:33 +0800 |
commit | f3234ec4a034f67b2eafb30e001da44540a5db6b (patch) | |
tree | 383eabc9f15d7d4a5bc09f74a2bf0156801fd7e8 /emulators | |
parent | c1e5ed4920b4f3c21fa0b5fe98550ad323140b94 (diff) | |
download | freebsd-ports-gnome-f3234ec4a034f67b2eafb30e001da44540a5db6b.tar.gz freebsd-ports-gnome-f3234ec4a034f67b2eafb30e001da44540a5db6b.tar.zst freebsd-ports-gnome-f3234ec4a034f67b2eafb30e001da44540a5db6b.zip |
Fix build with clang by respecting CC
PR: ports/158598
Submitted by: maintainer
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/tiemu3/files/patch-man_Makefile.in | 11 | ||||
-rw-r--r-- | emulators/tiemu3/files/patch-src_core_uae_Makefile | 37 |
2 files changed, 48 insertions, 0 deletions
diff --git a/emulators/tiemu3/files/patch-man_Makefile.in b/emulators/tiemu3/files/patch-man_Makefile.in new file mode 100644 index 000000000000..101a3b77e06e --- /dev/null +++ b/emulators/tiemu3/files/patch-man_Makefile.in @@ -0,0 +1,11 @@ +--- man/Makefile.in.orig 2009-04-30 16:45:57.000000000 -0400 ++++ man/Makefile.in 2011-07-02 12:20:12.000000000 -0400 +@@ -539,7 +539,7 @@ + + dist_win: $(man_MANS) + groff -Tascii -man $(man_MANS) > Manpage +- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc cleaner.c -o cleaner ++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) cleaner.c -o cleaner + ./cleaner Manpage + rm Manpage cleaner + # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/emulators/tiemu3/files/patch-src_core_uae_Makefile b/emulators/tiemu3/files/patch-src_core_uae_Makefile new file mode 100644 index 000000000000..641da3255f65 --- /dev/null +++ b/emulators/tiemu3/files/patch-src_core_uae_Makefile @@ -0,0 +1,37 @@ +--- src/core/uae/Makefile.orig 2006-01-06 18:30:04.000000000 -0500 ++++ src/core/uae/Makefile 2011-07-02 12:14:35.000000000 -0400 +@@ -14,26 +14,26 @@ + + # For cross-compiling (generators are run on host) + build68k_host.o: build68k.c +- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc -c -o $@ $? ++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) -c -o $@ $? + gencpu_host.o: gencpu.c +- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc -c -o $@ $? ++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) -c -o $@ $? + readcpu_host.o: readcpu.c +- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc -c -o $@ $? ++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) -c -o $@ $? + cpudefs_host.o: cpudefs.c +- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc -c -o $@ $? ++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) -c -o $@ $? + missing_host.o: missing.c +- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc -c -o $@ $? ++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) -c -o $@ $? + xmalloc_host.o: xmalloc.c +- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc -c -o $@ $? ++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) -c -o $@ $? + + # Build generators and files to generate + build68k: build68k_host.o + @echo "-> Compiling 68k builder..." +- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc $(LDFLAGS) -o $@ $? ++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) $(LDFLAGS) -o $@ $? + + gencpu: gencpu_host.o readcpu_host.o cpudefs_host.o missing_host.o xmalloc_host.o + @echo "-> Compiling CPU generator..." +- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc $(LDFLAGS) -o $@ gencpu_host.o readcpu_host.o cpudefs_host.o missing_host.o xmalloc_host.o ++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) $(LDFLAGS) -o $@ gencpu_host.o readcpu_host.o cpudefs_host.o missing_host.o xmalloc_host.o + + cpudefs.c: build68k table68k + @echo "-> Building CPU definitions..."
\ No newline at end of file |