public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] [PATCH] cross-emerge: Filter out BUILD_LDFLAGS
@ 2015-07-21  8:11 Joakim Tjernlund
  2015-07-23  3:48 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Joakim Tjernlund @ 2015-07-21  8:11 UTC (permalink / raw
  To: gentoo-embedded; +Cc: Joakim Tjernlund

BUILD_LDFLAGS was missing, add it too.

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@transmode.se>
---
 wrappers/cross-emerge | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/wrappers/cross-emerge b/wrappers/cross-emerge
index 0ea38e3..fc6117e 100755
--- a/wrappers/cross-emerge
+++ b/wrappers/cross-emerge
@@ -20,7 +20,7 @@ fi
 
 # Portage defaults CBUILD to CHOST, so we have to remove CHOST
 # from the env to get a "good" value for CBUILD
-query_vars="CBUILD CFLAGS CXXFLAGS CPPFLAGS"
+query_vars="CBUILD CFLAGS CXXFLAGS CPPFLAGS LDFLAGS"
 clean_vars="${query_vars} CHOST SYSROOT PORTAGE_CONFIGROOT"
 eval $(env $(printf -- '-u %s ' ${clean_vars}) \
 	portageq envvar -v ${query_vars} | sed s:^:_E_:)
@@ -28,7 +28,8 @@ eval $(env $(printf -- '-u %s ' ${clean_vars}) \
 : ${BUILD_CFLAGS=${_E_CFLAGS}}
 : ${BUILD_CXXFLAGS=${_E_CXXFLAGS}}
 : ${BUILD_CPPFLAGS=${_E_CPPFLAGS}}
-export CBUILD BUILD_CFLAGS BUILD_CXXFLAGS BUILD_CPPFLAGS
+: ${BUILD_LDFLAGS=${_E_LDFLAGS}}
+export CBUILD BUILD_CFLAGS BUILD_CXXFLAGS BUILD_CPPFLAGS BUILD_LDFLAGS
 
 : ${CROSS_CMD:=emerge --root-deps=rdeps}
 exec ${CROSS_CMD} "$@"
-- 
2.3.6



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [gentoo-embedded] [PATCH] cross-emerge: Filter out BUILD_LDFLAGS
  2015-07-21  8:11 [gentoo-embedded] [PATCH] cross-emerge: Filter out BUILD_LDFLAGS Joakim Tjernlund
@ 2015-07-23  3:48 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2015-07-23  3:48 UTC (permalink / raw
  To: gentoo-embedded; +Cc: Joakim Tjernlund

[-- Attachment #1: Type: text/plain, Size: 113 bytes --]

looks good:
http://gitweb.gentoo.org/proj/crossdev.git/commit/?id=70b1b4ec394ab952a5dcf2bbe2c888852e9412b4
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-23  3:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-21  8:11 [gentoo-embedded] [PATCH] cross-emerge: Filter out BUILD_LDFLAGS Joakim Tjernlund
2015-07-23  3:48 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox