diff options
Diffstat (limited to 'emulators/mame/files/patch-makefile')
-rw-r--r-- | emulators/mame/files/patch-makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/emulators/mame/files/patch-makefile b/emulators/mame/files/patch-makefile new file mode 100644 index 000000000000..92b404b9c912 --- /dev/null +++ b/emulators/mame/files/patch-makefile @@ -0,0 +1,50 @@ +--- makefile.orig 2018-02-27 15:59:06 UTC ++++ makefile +@@ -183,19 +183,19 @@ GENIEOS := solaris + endif + ifeq ($(firstword $(filter FreeBSD,$(UNAME))),FreeBSD) + OS := freebsd +-GENIEOS := freebsd ++GENIEOS := bsd + endif + ifeq ($(firstword $(filter GNU/kFreeBSD,$(UNAME))),GNU/kFreeBSD) + OS := freebsd +-GENIEOS := freebsd ++GENIEOS := bsd + endif + ifeq ($(firstword $(filter NetBSD,$(UNAME))),NetBSD) + OS := netbsd +-GENIEOS := freebsd ++GENIEOS := bsd + endif + ifeq ($(firstword $(filter OpenBSD,$(UNAME))),OpenBSD) + OS := openbsd +-GENIEOS := freebsd ++GENIEOS := bsd + endif + ifeq ($(firstword $(filter Darwin,$(UNAME))),Darwin) + OS := macosx +@@ -1377,6 +1377,23 @@ freebsd_x86: generate $(PROJECTDIR)/$(MA + $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd config=$(CONFIG)32 + + #------------------------------------------------- ++# gmake-freebsd-clang ++#------------------------------------------------- ++ ++$(PROJECTDIR)/$(MAKETYPE)-freebsd-clang/Makefile: makefile $(SCRIPTS) $(GENIE) ++ $(SILENT) $(GENIE) $(PARAMS) $(TARGET_PARAMS) --gcc=freebsd-clang --gcc_version=$(CLANG_VERSION) $(MAKETYPE) ++ ++.PHONY: freebsd_x64_clang ++freebsd_x64_clang: generate $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang/Makefile ++ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)64 precompile ++ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)64 ++ ++.PHONY: freebsd_x86_clang ++freebsd_x86_clang: generate $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang/Makefile ++ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)32 precompile ++ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)32 ++ ++#------------------------------------------------- + # gmake-netbsd + #------------------------------------------------- + |