mirror of
http://git.openwrt.org/packages.git
synced 2025-01-08 11:57:34 +08:00
seeks: fix compile on platforms with VFP
This solution might be a little bit dirty - is adding those -mfloat-abi switches to CXXFLAGS in rules.mk cleaner ? but they are overwritten in this case so dunno :/ reported by buildbot on sunxi configure fails to detect C++ compiler: a.out uses VFP register arguments, /tmp/ccHPrqts.o does not fixed by first change other errors when linking: ld: error: .libs/libseeksutils.so.0.0.0 uses VFP register arguments, .libs/miscutil.o does not ld: error: .libs/libseeksutils.so.0.0.0 uses VFP register arguments, .libs/mem_utils.o does not ld: error: .libs/libseeksutils.so.0.0.0 uses VFP register arguments, .libs/mutexes.o does not fixed by second change Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@40724 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
216ca09aaa
commit
e516ed9266
@ -50,7 +50,7 @@ endef
|
||||
|
||||
|
||||
CONFIGURE_VARS:= \
|
||||
CXXFLAGS="-I$(STAGING_DIR)/usr/include $(ICONV_CFLAGS)" \
|
||||
CXXFLAGS="-I$(STAGING_DIR)/usr/include $(ICONV_CFLAGS) $(TARGET_CFLAGS)" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib $(ICONV_LDFLAGS)" \
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
@ -69,7 +69,7 @@ endef
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CXXFLAGS="-I$(STAGING_DIR)/usr/include $(ICONV_CFLAGS)"
|
||||
CXXFLAGS="-I$(STAGING_DIR)/usr/include $(ICONV_CFLAGS) $(TARGET_CFLAGS)"
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
|
Loading…
Reference in New Issue
Block a user