1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2025-04-21 12:27:27 +03:00

octave: fix fortran compile flags, enable parallel compilation

This commit is contained in:
David Kühling
2011-06-09 16:16:10 +02:00
parent 7d8785d261
commit c33acf0a30
2 changed files with 32 additions and 2 deletions

View File

@@ -4,6 +4,8 @@
# License GPLv2 or later. NO WARRANTY.
#
# OpenWRT package for the GNU Octave
#
# todo: how do we enable octave's internal help system?
include $(TOPDIR)/rules.mk
@@ -14,6 +16,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.octave.org/pub/octave/
PKG_MD5SUM:=90c39fa9e241ad2e978bcee4682a2ba9
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=libtool
PKG_REMOVE_FILES:=
@@ -72,8 +75,9 @@ endef
# todo : need -enable-rpath?
OCTAVE_LIB_DIR := /usr/lib
CONFIGURE_ARGS += --without-x --without-fftw
CONFIGURE_VARS += octlibdir=$(OCTAVE_LIB_DIR)
CONFIGURE_ARGS += --without-x --without-fftw --disable-docs
CONFIGURE_VARS += octlibdir=$(OCTAVE_LIB_DIR) \
FFLAGS="$(TARGET_CFLAGS)"
#MAKE_FLAGS += "LD=$(TARGET_CROSS)gcc -nostdlib"
define Build/Configure