All the testing utilities were not using our CFLAGS or CXXFLAGS fix
that.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39867 3c298f89-4303-0410-b956-a3cf2f4a3e73
In case the host has security/pam_appl.h, the at configure script will
decide to link against libpam, we do not want that.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39866 3c298f89-4303-0410-b956-a3cf2f4a3e73
zaptel and zaptel-1.4.x belong to telephony, so move them to the
proper feed.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39842 3c298f89-4303-0410-b956-a3cf2f4a3e73
The configure script was hardcoding CFLAGS, remove that
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39840 3c298f89-4303-0410-b956-a3cf2f4a3e73
Those might be installed on the host, but certainly not available for the
target, disable checking for those.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39837 3c298f89-4303-0410-b956-a3cf2f4a3e73
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