* [Buildroot] [PATCH] package/lua-gd: compile with -fPIC
@ 2019-03-31 16:01 Francois Perrad
2019-03-31 18:58 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2019-03-31 16:01 UTC (permalink / raw)
To: buildroot
Fixes: http://autobuild.buildroot.net/results/756c20a09e3c1bd5295416894e4fbe0ca0db5328
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
package/lua-gd/lua-gd.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/lua-gd/lua-gd.mk b/package/lua-gd/lua-gd.mk
index 464f6e1e6..b32e0c9fe 100644
--- a/package/lua-gd/lua-gd.mk
+++ b/package/lua-gd/lua-gd.mk
@@ -36,7 +36,7 @@ define LUA_GD_BUILD_CMDS
$(MAKE) -C $(@D) gd.so \
GDFEATURES="$(LUA_GD_FEATURES)" \
CC=$(TARGET_CC) \
- CFLAGS="$(TARGET_CFLAGS) -DVERSION=\\\"$(GD_VERSION)r3\\\"" \
+ CFLAGS="$(TARGET_CFLAGS) -fPIC -DVERSION=\\\"$(GD_VERSION)r3\\\"" \
LFLAGS="-shared -lgd"
endef
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-31 18:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-31 16:01 [Buildroot] [PATCH] package/lua-gd: compile with -fPIC Francois Perrad
2019-03-31 18:58 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox