From 30e49b8a31a6e43a22c1fa093d9a57fbacb4e710 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Thu, 24 Apr 2014 16:37:07 +0000
Subject: Haiku patch


diff --git a/Makefile b/Makefile
index e91f1f6..9ae1149 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ OBJS=tree.o unix.o html.o xml.o json.o hash.o color.o
 # Uncomment options below for your particular OS:
 
 # Linux defaults:
-CFLAGS=-ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+#CFLAGS=-ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 #CFLAGS=-O4 -Wall  -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 #LDFLAGS=-s
 
@@ -59,6 +59,11 @@ CFLAGS=-ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 #MANDIR=/usr/share/man/man1
 #OBJS+=strverscmp.o
 
+# Uncomment for Haiku:
+CFLAGS=-O2 -Wall -fomit-frame-pointer
+LDFLAGS=
+OBJS+=strverscmp.o
+
 # Uncomment for HP/UX:
 #CC=cc
 #CFLAGS=-O2 -DAportable -Wall
-- 
1.8.3.4

