Skip to content

Commit

Permalink
set min version to 10.5 to make it run on 10.7
Browse files Browse the repository at this point in the history
  • Loading branch information
bit committed Mar 7, 2015
1 parent 2c6f463 commit 3379d42
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,17 @@ $(MIREDO_BUILD_X86_DIR)/config.status: $(MIREDO_SRC_DIR)/include/gettext.h $(JUD
-$(RMKDIR) $(MIREDO_BUILD_X86_DIR)
-$(RMKDIR) $(MIREDO_OUT_X86_DIR)
cd $(MIREDO_BUILD_X86_DIR) && $(MIREDO_SRC_DIR)/configure \
$(MIREDO_CONFIG_FLAGS) CFLAGS="-arch i386 -O2 -I$(JUDY_OUT_X86_DIR)/include -mmacosx-version-min=10.6" \
LDFLAGS=-mmacosx-version-min=10.6 \
$(MIREDO_CONFIG_FLAGS) CFLAGS="-arch i386 -O2 -I$(JUDY_OUT_X86_DIR)/include -mmacosx-version-min=10.5" \
LDFLAGS=-mmacosx-version-min=10.5 \
--with-Judy=$(JUDY_OUT_X86_DIR) LDFLAGS=-L$(JUDY_OUT_X86_DIR)/lib

$(MIREDO_BUILD_X86_64_DIR)/config.status: $(MIREDO_SRC_DIR)/include/gettext.h $(JUDY_OUT_X86_64_DIR)/lib/libJudy.a
-$(RMKDIR) $(BUILD_DIR)
-$(RMKDIR) $(MIREDO_BUILD_X86_64_DIR)
-$(RMKDIR) $(MIREDO_OUT_X86_64_DIR)
cd $(MIREDO_BUILD_X86_64_DIR) && $(MIREDO_SRC_DIR)/configure \
$(MIREDO_CONFIG_FLAGS) CFLAGS="-arch x86_64 -O2 -I$(JUDY_OUT_X86_64_DIR)/include -mmacosx-version-min=10.6" \
LDFLAGS=-mmacosx-version-min=10.6 \
$(MIREDO_CONFIG_FLAGS) CFLAGS="-arch x86_64 -O2 -I$(JUDY_OUT_X86_64_DIR)/include -mmacosx-version-min=10.5" \
LDFLAGS=-mmacosx-version-min=10.5 \
--with-Judy=$(JUDY_OUT_X86_64_DIR) LDFLAGS=-L$(JUDY_OUT_X86_64_DIR)/lib

$(MIREDO_OUT_X86_DIR)$(PREFIX)/sbin/miredo: $(MIREDO_BUILD_X86_DIR)/config.status
Expand Down Expand Up @@ -160,7 +160,7 @@ $(JUDY_BUILD_X86_DIR)/config.status: Judy-1.0.5.tar.gz
test -e $(JUDY_BUILD_X86_DIR) || (tar xzf Judy-1.0.5.tar.gz && mv judy-1.0.5 $(JUDY_BUILD_X86_DIR))
-$(RMKDIR) $(JUDY_OUT_X86_DIR)
cd $(JUDY_BUILD_X86_DIR) && ./configure $(JUDY_CONFIG_FLAGS) \
CFLAGS='-arch i386 -O2 -mmacosx-version-min=10.6' --prefix=$(JUDY_OUT_X86_DIR)
CFLAGS='-arch i386 -O2 -mmacosx-version-min=10.5' --prefix=$(JUDY_OUT_X86_DIR)

$(JUDY_OUT_X86_DIR)/lib/libJudy.a: $(JUDY_BUILD_X86_DIR)/config.status
$(MAKE) -C $(JUDY_BUILD_X86_DIR) install
Expand All @@ -175,7 +175,7 @@ $(JUDY_BUILD_X86_64_DIR)/config.status: Judy-1.0.5.tar.gz
test -e $(JUDY_BUILD_X86_64_DIR) || (tar xzf Judy-1.0.5.tar.gz && mv judy-1.0.5 $(JUDY_BUILD_X86_64_DIR))
-$(RMKDIR) $(JUDY_OUT_X86_64_DIR)
cd $(JUDY_BUILD_X86_64_DIR) && ./configure $(JUDY_CONFIG_FLAGS) \
CFLAGS='-arch x86_64 -O2 -mmacosx-version-min=10.6' --prefix=$(JUDY_OUT_X86_64_DIR)
CFLAGS='-arch x86_64 -O2 -mmacosx-version-min=10.5' --prefix=$(JUDY_OUT_X86_64_DIR)

$(JUDY_OUT_X86_64_DIR)/lib/libJudy.a: $(JUDY_BUILD_X86_64_DIR)/config.status
$(MAKE) -C $(JUDY_BUILD_X86_64_DIR) install
Expand Down

0 comments on commit 3379d42

Please sign in to comment.