diff options
author | Francois Perrad <fperrad@gmail.com> | 2017-09-29 18:59:06 +0200 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2017-10-06 20:42:22 +0200 |
commit | 28be052f6dc280ab8469d543af23e76016afc6bd (patch) | |
tree | d0dd9499395472e847ebc1087f76af4bb602cf98 /package/lbase64 | |
parent | 7adc268b58a1eea9967ed5c7a3b7b4471575d73a (diff) | |
download | buildroot-28be052f6dc280ab8469d543af23e76016afc6bd.tar.gz buildroot-28be052f6dc280ab8469d543af23e76016afc6bd.zip |
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>
Diffstat (limited to 'package/lbase64')
-rw-r--r-- | package/lbase64/lbase64.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/lbase64/lbase64.mk b/package/lbase64/lbase64.mk index fd78a6ccd4..0225fc67c7 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 |