Date:2012-03-23 03:24:44 (12 years 6 days ago)
Author:David Kühling
Commit:51287e2f17435eb828d4b5328b99d9f1cbea7c03
Message:octave: fix compilation with latest openwrt toolchain

Files: octave/Makefile (2 diffs)

Change Details

octave/Makefile
66# OpenWRT package for the GNU Octave
77#
88# todo: how do we enable octave's internal help system?
9#
10# todo: we may have a (slight) linking problem: it prefers liboctinterp.so &
11# friends from staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/ over the one
12# freshly compiled. As a workaround, try 'rm
13# openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/*oct*' if
14# compilation fails for you. Mostly that doesn't matter on clean rebuilds
15# anyways.
16#
917
1018include $(TOPDIR)/rules.mk
1119
1220PKG_NAME:=octave
1321PKG_VERSION:=3.2.4
14PKG_RELEASE:=3
22PKG_RELEASE:=4
1523PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
1624PKG_SOURCE_URL:=ftp://ftp.octave.org/pub/octave/
1725PKG_MD5SUM:=90c39fa9e241ad2e978bcee4682a2ba9
...... 
7583# todo : need -enable-rpath?
7684
7785OCTAVE_LIB_DIR := /usr/lib
86
87# ugly workaround for octave 3.2.4 to compile with latest openwrt toolchain
88TARGET_CXXFLAGS += -include stddef.h -fpermissive
89
7890CONFIGURE_ARGS += --without-x --without-fftw --disable-docs
7991CONFIGURE_VARS += octlibdir=$(OCTAVE_LIB_DIR) \
8092    FFLAGS="$(TARGET_CFLAGS)"

Archive Download the corresponding diff file



interactive