package/lua-gd: compile with -fPIC

Fixes:

  http://autobuild.buildroot.net/results/756c20a09e3c1bd5295416894e4fbe0ca0db5328

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad 2019-03-31 18:01:37 +02:00 committed by Thomas Petazzoni
parent 01e0fec161
commit 4b952a57ae

View File

@ -16,7 +16,7 @@ define LUA_GD_BUILD_CMDS
$(MAKE) -C $(@D) gd.so \
GDLIBCONFIG="$(STAGING_DIR)/usr/bin/gdlib-config" \
CC=$(TARGET_CC) \
CFLAGS="$(TARGET_CFLAGS) -DVERSION=\\\"$(GD_VERSION)r3\\\"" \
CFLAGS="$(TARGET_CFLAGS) -fPIC -DVERSION=\\\"$(GD_VERSION)r3\\\"" \
LFLAGS="-shared -lgd"
endef