Fix x86 build

This commit is contained in:
Puck Meerburg
2014-01-11 11:00:28 +01:00
parent 3fe8021c71
commit 21914ebcbb

View File

@@ -1,20 +1,19 @@
From 933ba0887a6d06b8b0d8bcacb5fc0f546e121745 Mon Sep 17 00:00:00 2001
From ea019e9659fb07d24ec113afdb264c235f1683be Mon Sep 17 00:00:00 2001
From: Puck Meerburg <puck@puckipedia.nl>
Date: Fri, 10 Jan 2014 23:12:29 +0100
Subject: Fix Haiku build and add Haiku fixes
Date: Sat, 11 Jan 2014 10:56:27 +0100
Subject: Add Haiku fixes
diff --git a/Makefile b/Makefile
index 99f2795..125dd6b 100644
index 99f2795..ce1ebe5 100644
--- a/Makefile
+++ b/Makefile
@@ -69,6 +69,10 @@ aix:
@@ -69,6 +69,9 @@ aix:
linux:
make -e $(ALL) $(MFLAGS) XFLAGS='-DLINUX' STATIC=-static
+# start with this for a new architecture, and see what breaks.
+haiku:
+ make -e $(ALL) $(MFLAGS) XFLAGS='-DHAIKU -lnetwork -lbind' STATIC=-static
+ make -e $(ALL) $(MFLAGS) XFLAGS='-DHAIKU -lnetwork' STATIC=-static
+
# irix 5.2, dunno 'bout earlier versions. If STATIC='-non_shared' doesn't
# work for you, null it out and yell at SGI for their STUPID default