* [Buildroot] [PATCH] lua: use target LDFLAGS
@ 2017-05-08 14:28 Baruch Siach
2017-05-09 8:32 ` François Perrad
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Baruch Siach @ 2017-05-08 14:28 UTC (permalink / raw)
To: buildroot
This adds '-static' to the link command when BR2_STATIC_LIBS=y, making the lua
binary really static.
Cc: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
package/lua/lua.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/lua/lua.mk b/package/lua/lua.mk
index 5ef61e039e36..bc0a9d456b9c 100644
--- a/package/lua/lua.mk
+++ b/package/lua/lua.mk
@@ -70,6 +70,7 @@ define LUA_BUILD_CMDS
CC="$(TARGET_CC)" RANLIB="$(TARGET_RANLIB)" \
CFLAGS="$(TARGET_CFLAGS) $(LUA_CFLAGS)" \
MYLIBS="$(LUA_MYLIBS)" AR="$(TARGET_CROSS)ar rcu" \
+ MYLDFLAGS="$(TARGET_LDFLAGS)" \
BUILDMODE=$(LUA_BUILDMODE) \
PKG_VERSION=$(LUA_VERSION) -C $(@D)/src all
endef
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* [Buildroot] [PATCH] lua: use target LDFLAGS
2017-05-08 14:28 [Buildroot] [PATCH] lua: use target LDFLAGS Baruch Siach
@ 2017-05-09 8:32 ` François Perrad
2017-05-11 19:53 ` Thomas Petazzoni
2017-05-15 12:02 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: François Perrad @ 2017-05-09 8:32 UTC (permalink / raw)
To: buildroot
2017-05-08 16:28 GMT+02:00 Baruch Siach <baruch@tkos.co.il>:
> This adds '-static' to the link command when BR2_STATIC_LIBS=y, making the lua
> binary really static.
>
> Cc: Francois Perrad <francois.perrad@gadz.org>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
> ---
> package/lua/lua.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/lua/lua.mk b/package/lua/lua.mk
> index 5ef61e039e36..bc0a9d456b9c 100644
> --- a/package/lua/lua.mk
> +++ b/package/lua/lua.mk
> @@ -70,6 +70,7 @@ define LUA_BUILD_CMDS
> CC="$(TARGET_CC)" RANLIB="$(TARGET_RANLIB)" \
> CFLAGS="$(TARGET_CFLAGS) $(LUA_CFLAGS)" \
> MYLIBS="$(LUA_MYLIBS)" AR="$(TARGET_CROSS)ar rcu" \
> + MYLDFLAGS="$(TARGET_LDFLAGS)" \
> BUILDMODE=$(LUA_BUILDMODE) \
> PKG_VERSION=$(LUA_VERSION) -C $(@D)/src all
> endef
> --
> 2.11.0
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] lua: use target LDFLAGS
2017-05-08 14:28 [Buildroot] [PATCH] lua: use target LDFLAGS Baruch Siach
2017-05-09 8:32 ` François Perrad
@ 2017-05-11 19:53 ` Thomas Petazzoni
2017-05-15 12:02 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2017-05-11 19:53 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 8 May 2017 17:28:26 +0300, Baruch Siach wrote:
> This adds '-static' to the link command when BR2_STATIC_LIBS=y, making the lua
> binary really static.
>
> Cc: Francois Perrad <francois.perrad@gadz.org>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> package/lua/lua.mk | 1 +
> 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] lua: use target LDFLAGS
2017-05-08 14:28 [Buildroot] [PATCH] lua: use target LDFLAGS Baruch Siach
2017-05-09 8:32 ` François Perrad
2017-05-11 19:53 ` Thomas Petazzoni
@ 2017-05-15 12:02 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2017-05-15 12:02 UTC (permalink / raw)
To: buildroot
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
> This adds '-static' to the link command when BR2_STATIC_LIBS=y, making the lua
> binary really static.
> Cc: Francois Perrad <francois.perrad@gadz.org>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-05-15 12:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-08 14:28 [Buildroot] [PATCH] lua: use target LDFLAGS Baruch Siach
2017-05-09 8:32 ` François Perrad
2017-05-11 19:53 ` Thomas Petazzoni
2017-05-15 12:02 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox