Mercurial > mxe-octave
comparison src/arpack.mk @ 3015:ec6f91539788
initial support for --enable-64
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 04 Jun 2013 12:33:15 -0400 |
parents | b6c7244a2f66 |
children | 107fb7f1202f |
comparison
equal
deleted
inserted
replaced
3014:b6c7244a2f66 | 3015:ec6f91539788 |
---|---|
11 | 11 |
12 ifeq ($(USE_PIC_FLAG),yes) | 12 ifeq ($(USE_PIC_FLAG),yes) |
13 $(PKG)_CONFIGURE_PIC_OPTION := --with-pic | 13 $(PKG)_CONFIGURE_PIC_OPTION := --with-pic |
14 endif | 14 endif |
15 | 15 |
16 ifeq ($(ENABLE_64),yes) | |
17 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := FFLAGS="-g -O2 -fdefault-integer-8" | |
18 endif | |
19 | |
16 define $(PKG)_UPDATE | 20 define $(PKG)_UPDATE |
17 echo 'Warning: Updates are temporarily disabled for package arpack.' >&2; | 21 echo 'Warning: Updates are temporarily disabled for package arpack.' >&2; |
18 echo $(arpack_VERSION) | 22 echo $(arpack_VERSION) |
19 endef | 23 endef |
20 | 24 |
23 cd '$(1)/.build' && '$(1)/configure' \ | 27 cd '$(1)/.build' && '$(1)/configure' \ |
24 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | 28 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
25 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | 29 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
26 --enable-static --disable-shared \ | 30 --enable-static --disable-shared \ |
27 $($(PKG)_CONFIGURE_PIC_OPTION) \ | 31 $($(PKG)_CONFIGURE_PIC_OPTION) \ |
28 --prefix='$(HOST_PREFIX)' | 32 --prefix='$(HOST_PREFIX)' \ |
33 $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) | |
29 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' | 34 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' |
30 | 35 |
31 if [ $(BUILD_STATIC) = yes ]; then \ | 36 if [ $(BUILD_STATIC) = yes ]; then \ |
32 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install; \ | 37 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install; \ |
33 fi | 38 fi |