Skip to contentSkip to conversation

package/lua-gd: compile with -fPIC

PATCH New Francois Perrad 2 participants 2 messages Mar 31, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/lua-gd: compile with -fPIC

---
 package/lua-gd/lua-gd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/lua-gd/lua-gd.mk +1 -1
index 464f6e1e6..b32e0c9fe 100644
@@ -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
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 package/lua-gd: compile with -fPIC

Hello,

I applied this patch, but it did not apply cleanly on master.

Quoted 2 lines · On Sun, 31 Mar 2019 18:01:37 +0200 Francois Perrad <[email protected]> wrote:

We traditionally have an empty line before the Signed-off-by line.

Applied anyway. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com