diff options
author | Gareth Coco <garethcoco@gmail.com> | 2011-12-23 19:30:32 (GMT) |
---|---|---|
committer | Gareth Coco <garethcoco@gmail.com> | 2011-12-23 19:30:32 (GMT) |
commit | 4e042112deab10c2c91aa6d85b54d8bbda602733 (patch) | |
tree | dd7b9d5c78602c272760f774420ea6b64c1fff4d /src/libical.mk | |
parent | 36ade7a730ed9da51b560d5972fb2bae9e0fdfa2 (diff) | |
download | mxe-4e042112deab10c2c91aa6d85b54d8bbda602733.zip mxe-4e042112deab10c2c91aa6d85b54d8bbda602733.tar.gz mxe-4e042112deab10c2c91aa6d85b54d8bbda602733.tar.bz2 |
Allow parallel builds in libical.
Removed the patch for parallel builds.
Added make ical-header before main make.
Removed dependency on pthreads.
Diffstat (limited to 'src/libical.mk')
-rw-r--r-- | src/libical.mk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libical.mk b/src/libical.mk index 2cd6bc6..8ac10bd 100644 --- a/src/libical.mk +++ b/src/libical.mk @@ -9,7 +9,7 @@ $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_WEBSITE := http://freeassociation.sourceforge.net/ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/freeassociation/$(PKG)/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE) -$(PKG)_DEPS := gcc pthreads +$(PKG)_DEPS := gcc define $(PKG)_UPDATE wget -q -O- 'http://sourceforge.net/projects/freeassociation/files/$(PKG)/' | \ @@ -21,9 +21,12 @@ define $(PKG)_BUILD cd '$(1)' && mkdir build cd '$(1)/build' && cmake .. \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ - -DSTATIC_LIBRARY=true + -DSTATIC_LIBRARY=true \ + -DHAVE_PTHREAD_H=false \ + -DCMAKE_HAVE_PTHREAD_H=false + $(MAKE) -C '$(1)/build' -j '$(JOBS)' ical-header $(MAKE) -C '$(1)/build' -j '$(JOBS)' - $(MAKE) -C '$(1)/build' -j '$(JOBS)' install + $(MAKE) -C '$(1)/build' -j 1 install '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ |