diff src/octave.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 951da75fd09c
line wrap: on
line diff
--- a/src/octave.mk	Sun Jun 02 16:59:24 2013 -0400
+++ b/src/octave.mk	Tue Jun 04 12:33:15 2013 -0400
@@ -11,11 +11,17 @@
 
 ifeq ($(MXE_NATIVE_BUILD),yes)
   $(PKG)_CONFIGURE_ENV := LD_LIBRARY_PATH="'$(LD_LIBRARY_PATH)'"
+  ifeq ($(ENABLE_64),yes)
+    $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --enable-64
+  endif
 else
   ifeq ($(MXE_SYSTEM),mingw)
     $(PKG)_CROSS_CONFIG_OPTIONS := \
       FLTK_CONFIG='$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)-fltk-config' \
       gl_cv_func_gettimeofday_clobber=no
+    ifeq ($(ENABLE_64),yes)
+      $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --enable-64 ax_blas_f77_func_ok=yes
+    endif
   endif
 endif
 
@@ -32,7 +38,8 @@
         LDFLAGS='-Wl,-rpath-link,$(HOST_LIBDIR) -L$(HOST_LIBDIR)' \
         $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
         --prefix='$(HOST_PREFIX)' \
-	$($(PKG)_CROSS_CONFIG_OPTIONS)
+	$($(PKG)_CROSS_CONFIG_OPTIONS) \
+        $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS)
 
     ## We want both of these install steps so that we install in the
     ## location set by the configure --prefix option, and the other