summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2016-06-09 18:05:20 (GMT)
committerTony Theodore <tonyt@logyst.com>2016-06-18 05:03:00 (GMT)
commitc21bf8a169f23203396b39979c44c75edf8cbfac (patch)
tree3ad8acb088be35fdd2fb4f9561e4e6da02ea8a62 /src
parent9bb85786a6c66265b90f272ed31a73e2616daa99 (diff)
downloadmxe-c21bf8a169f23203396b39979c44c75edf8cbfac.zip
mxe-c21bf8a169f23203396b39979c44c75edf8cbfac.tar.gz
mxe-c21bf8a169f23203396b39979c44c75edf8cbfac.tar.bz2
cloog: enabled shared and cross builds
Diffstat (limited to 'src')
-rw-r--r--src/cloog.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cloog.mk b/src/cloog.mk
index 40d4c8b..eb206c3 100644
--- a/src/cloog.mk
+++ b/src/cloog.mk
@@ -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 =