cloog: enabled shared and cross builds

This commit is contained in:
Tony Theodore 2016-06-10 04:05:20 +10:00
parent 9bb85786a6
commit c21bf8a169
1 changed files with 2 additions and 4 deletions

View File

@ -22,13 +22,11 @@ define $(PKG)_UPDATE
tail -1
endef
define $(PKG)_BUILD_$(BUILD)
define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--with-gmp-prefix='$(PREFIX)/$(TARGET)' \
--with-isl-prefix='$(PREFIX)/$(TARGET)'
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j '$(JOBS)' $(if $(BUILD_SHARED),LDFLAGS=-no-undefined)
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef
$(PKG)_BUILD_SHARED =