From: Willy Tarreau Date: Sun, 10 Feb 2008 16:00:13 +0000 (+0100) Subject: [BUILD] update MacOS Makefile to build on newer versions X-Git-Tag: v1.3.15~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ad15da522fc3579ba88e8496baacd5dd2409389;p=thirdparty%2Fhaproxy.git [BUILD] update MacOS Makefile to build on newer versions This update from Dan Zinngrabe enables building on MacOS 10.4 and 10.5. --- diff --git a/Makefile.osx b/Makefile.osx index f2469bc669..c6b03c657d 100644 --- a/Makefile.osx +++ b/Makefile.osx @@ -92,8 +92,8 @@ VER_OPTS := -DCONFIG_HAPROXY_VERSION=\"$(VERSION)$(SUBVERS)\" \ COPTS = -Iinclude $(ADDINC) $(CPU_OPTS) $(TARGET_OPTS) $(REGEX_OPTS) \ $(SMALL_OPTS) $(VER_OPTS) $(DEFINE) LIBS = $(LIBS.$(TARGET)) $(LIBS.$(REGEX)) $(ADDLIB) -CFLAGS = -Wall $(COPTS) $(DEBUG) -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -LDFLAGS = -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 +CFLAGS = -Wall $(COPTS) $(DEBUG) -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -mmacosx-version-min=10.4 +LDFLAGS = -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -mmacosx-version-min=10.4 OBJS = src/haproxy.o src/sessionhash.o src/base64.o src/protocols.o \ src/uri_auth.o src/standard.o src/buffers.o src/log.o src/task.o \