public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-action/rafkill/files: rafkill-1.2.3-ldflags.patch
@ 2010-10-07  8:43 Alfredo Tupone (tupone)
  0 siblings, 0 replies; only message in thread
From: Alfredo Tupone (tupone) @ 2010-10-07  8:43 UTC (permalink / raw
  To: gentoo-commits

tupone      10/10/07 08:43:21

  Added:                rafkill-1.2.3-ldflags.patch
  Log:
  Respect LDFLAGS. Bug #339896
  (Portage version: 2.1.8.3/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  games-action/rafkill/files/rafkill-1.2.3-ldflags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/rafkill/files/rafkill-1.2.3-ldflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/rafkill/files/rafkill-1.2.3-ldflags.patch?rev=1.1&content-type=text/plain

Index: rafkill-1.2.3-ldflags.patch
===================================================================
--- SConstruct.old	2010-10-07 10:37:26.000000000 +0200
+++ SConstruct	2010-10-07 10:39:33.000000000 +0200
@@ -1,5 +1,6 @@
 import os
 import sys
+import SCons.Util
 
 env = Environment( ENV = os.environ );
 config = env.Configure();
@@ -36,6 +37,7 @@
 
 env.BuildDir( 'build/', 'src/' )
 env.Append( LIBS = [ 'aldmb', 'dumb' ] );
+env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
 if sys.platform == 'win32':
 	env.Append( CCFLAGS = [ '-DWINDOWS' ] )
 	env.Append( LIBS = [ 'alleg', 'pthreadGC2' ] )






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-07  9:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07  8:43 [gentoo-commits] gentoo-x86 commit in games-action/rafkill/files: rafkill-1.2.3-ldflags.patch Alfredo Tupone (tupone)

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