lbase64: compile with -fPIC
Some architectures (e.g. x86_64, MIPS, microblaze, or1k) require to build with -fPIC to build a shared library, but the lbase64 build system doesn't add it. Therefore, we add it in CFLAGS. Fixes: http://autobuild.buildroot.net/results/b56/b567096cbfdb89b1895924051265c56204ffb512/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [Arnout: write commit log] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
7adc268b58
commit
28be052f6d
@ -12,7 +12,8 @@ LBASE64_LICENSE_FILES = README
|
||||
LBASE64_DEPENDENCIES = luainterpreter
|
||||
|
||||
define LBASE64_BUILD_CMDS
|
||||
$(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) so
|
||||
$(MAKE1) $(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) so
|
||||
endef
|
||||
|
||||
define LBASE64_INSTALL_TARGET_CMDS
|
||||
|
Loading…
Reference in New Issue
Block a user