This uses SED syntax which is unsupported most of the time, and we copy the
sample configuration so we do not really care
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39825 3c298f89-4303-0410-b956-a3cf2f4a3e73
Use the CFLAGS32, CXXFLAGS32 and LINKFLAGS32 to pass our custom CFLAGS.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39824 3c298f89-4303-0410-b956-a3cf2f4a3e73
Re-use $(CC) to pass our CFLAGS down to the rtklib makefiles.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39822 3c298f89-4303-0410-b956-a3cf2f4a3e73
mgen build was spectacularly broken, not even being cross-compiled for the
target, fix that and make sure that we use the toolchain binaries were
relevant.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39813 3c298f89-4303-0410-b956-a3cf2f4a3e73
Some toolchains (e.g: ARM with VFP) require us to specify the ABI to use,
update the dns-sd linking command-line for this.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39811 3c298f89-4303-0410-b956-a3cf2f4a3e73
SYS_CFLAGS has no effect for our build targets, OPT_CFLAGS is what we intended
to use.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39810 3c298f89-4303-0410-b956-a3cf2f4a3e73
TARGET_CFLAGS contains all the ABI specific information we might need, make
sure this gets passed to the g++ compiler
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39809 3c298f89-4303-0410-b956-a3cf2f4a3e73
Remove the custom Build/Compile as the default is providing the same thing
but make sure that our CFLAGS are correctly used.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39808 3c298f89-4303-0410-b956-a3cf2f4a3e73
libowfat build was failing due to the CFLAGS being overriden in the Makefile
which will make all the preliminary tests to fail.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39805 3c298f89-4303-0410-b956-a3cf2f4a3e73
The package Makefile already provides some CFLAGS and LDFLAGS but
we want to use ours.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39804 3c298f89-4303-0410-b956-a3cf2f4a3e73
When building on x86_64 hosts, the configure script will try to add /lib64 from
the host to the linker command, which will usually result in failing the
ncurses library test, fix this by checking whether we are cross-compiling or
not.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39802 3c298f89-4303-0410-b956-a3cf2f4a3e73
configure script hardcodes CFLAGS, fix that so we can get ours to be used.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39801 3c298f89-4303-0410-b956-a3cf2f4a3e73
configure.in contains a test which overrides CFLAGS with CCOPTS when it
determines that the compiler is GCC, this breaks build on most platforms where
the ABI has to be explicitely specified (e.g: ARM VFP).
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39800 3c298f89-4303-0410-b956-a3cf2f4a3e73
Build was failing because inttypes.h did not provide a declaration for uint32_t
and friends
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39799 3c298f89-4303-0410-b956-a3cf2f4a3e73
bonnie++ was not compiled using the TARGET_CXXFLAGS we passed, which will result
in build failures on e.g: ARM VFP toolchains, fix that.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39798 3c298f89-4303-0410-b956-a3cf2f4a3e73
libdbi's configure.in is hardcoding CFLAGS and does not allow the configure
script environment to override those. Remove the hardcoded CFLAGS as they are
completely bogus and do not allow for any configuration. Fixes the build on ARM
VFP toolchains.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39797 3c298f89-4303-0410-b956-a3cf2f4a3e73
Building the documentation for the host requires a bunch of tools that systems
might not have, simply disable it which also speeds up the build time.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39796 3c298f89-4303-0410-b956-a3cf2f4a3e73
The autoreconf fixup is already removing that file for us, drop that patch
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39794 3c298f89-4303-0410-b956-a3cf2f4a3e73
autoreconf fixup is doing this already for us.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39793 3c298f89-4303-0410-b956-a3cf2f4a3e73