From: | "Thomas Beierlein (tomjbe)" <tomjbe@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-electronics/oregano/files: oregano-0.69.0-ldflags.diff |
Date: | Sun, 22 Aug 2010 09:32:54 |
Message-Id: | 20100822093250.C151C20051@flycatcher.gentoo.org |
1 | tomjbe 10/08/22 09:32:50 |
2 | |
3 | Added: oregano-0.69.0-ldflags.diff |
4 | Log: |
5 | Fix for bug #333869 wrt respecting LDFLAGS |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sci-electronics/oregano/files/oregano-0.69.0-ldflags.diff |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/oregano/files/oregano-0.69.0-ldflags.diff?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/oregano/files/oregano-0.69.0-ldflags.diff?rev=1.1&content-type=text/plain |
13 | |
14 | Index: oregano-0.69.0-ldflags.diff |
15 | =================================================================== |
16 | --- SConstruct.old 2010-08-22 09:15:34.000000000 +0000 |
17 | +++ SConstruct 2010-08-22 09:18:54.000000000 +0000 |
18 | @@ -80,6 +80,9 @@ |
19 | if CEnv['Debug']: |
20 | CEnv.Append (CCFLAGS = Split ('-g')); |
21 | |
22 | +if 'LDFLAGS' in os.environ: |
23 | + CEnv.Append(LINKFLAGS = os.environ['LDFLAGS']) |
24 | + |
25 | # Check dependencies # |
26 | if not CEnv.GetOption ('clean'): |
27 | Cconf = Configure (CEnv, custom_tests = {'CheckPkg' : CheckPkg }) |