mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
libtommath: build with -fPIC
This fixes the build on x86_64, see: http://autobuild.buildroot.net/results/212/212469db5dc8399070390603c0fdf7f12b130cda/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
62c8864cad
commit
ab51fb01f0
@ -13,7 +13,7 @@ LIBTOMMATH_INSTALL_STAGING = YES
|
|||||||
LIBTOMMATH_INSTALL_TARGET = NO # only static library
|
LIBTOMMATH_INSTALL_TARGET = NO # only static library
|
||||||
|
|
||||||
define LIBTOMMATH_BUILD_CMDS
|
define LIBTOMMATH_BUILD_CMDS
|
||||||
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS="-I./ $(TARGET_CFLAGS)"
|
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS="-I./ -fPIC $(TARGET_CFLAGS)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define LIBTOMMATH_INSTALL_STAGING_CMDS
|
define LIBTOMMATH_INSTALL_STAGING_CMDS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user