43 lines
979 B
Plaintext
43 lines
979 B
Plaintext
$NetBSD: patch-makefile,v 1.17 2016/09/02 12:22:46 wiz Exp $
|
|
|
|
Treat all BSDs the same.
|
|
|
|
--- makefile.orig 2016-06-29 06:34:30.000000000 +0000
|
|
+++ makefile
|
|
@@ -168,19 +168,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
|
|
@@ -881,11 +881,6 @@ $(info GCC $(GCC_VERSION) detected)
|
|
else
|
|
$(info Clang $(CLANG_VERSION) detected)
|
|
ifneq ($(TARGETOS),asmjs)
|
|
-ifeq ($(ARCHITECTURE),_x64)
|
|
-ARCHITECTURE := _x64_clang
|
|
-else
|
|
-ARCHITECTURE := _x86_clang
|
|
-endif
|
|
endif
|
|
endif
|
|
|