* [Buildroot] [git commit] lbase64: compile with -fPIC
@ 2017-10-06 18:42 Arnout Vandecappelle
0 siblings, 0 replies; only message in thread
From: Arnout Vandecappelle @ 2017-10-06 18:42 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=28be052f6dc280ab8469d543af23e76016afc6bd
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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>
---
package/lbase64/lbase64.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/lbase64/lbase64.mk b/package/lbase64/lbase64.mk
index fd78a6c..0225fc6 100644
--- a/package/lbase64/lbase64.mk
+++ b/package/lbase64/lbase64.mk
@@ -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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-06 18:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-06 18:42 [Buildroot] [git commit] lbase64: compile with -fPIC Arnout Vandecappelle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.