Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 254087 Details for
Bug 334465
media-sound/bpmdetect does not respect LDFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bpmdetect-0.6.1-SConscript.patch
bpmdetect-0.6.1-SConscript.patch (text/plain), 1.66 KB, created by
Gavin Pryke
on 2010-11-12 14:03:44 UTC
(
hide
)
Description:
bpmdetect-0.6.1-SConscript.patch
Filename:
MIME Type:
Creator:
Gavin Pryke
Created:
2010-11-12 14:03:44 UTC
Size:
1.66 KB
patch
obsolete
>--- bpmdetect/src/SConscript.old 2010-11-12 13:28:39.736999976 +0000 >+++ bpmdetect/src/SConscript 2010-11-12 13:53:43.984000030 +0000 >@@ -1,5 +1,6 @@ > #! /usr/bin/env python > import os, sys, glob >+import SCons.Util > > if not sys.platform.startswith('win'): > BOLD ="\033[1m" >@@ -156,17 +157,22 @@ > env.__delitem__('CPPPATH') > if env.has_key('CPPDEFINES'): > env.__delitem__('CPPDEFINES') >- if env.has_key('CXXFLAGS'): >- env.__delitem__('CXXFLAGS') >+# if env.has_key('CXXFLAGS'): >+# env.__delitem__('CXXFLAGS') > if env.has_key('LIBPATH'): > env.__delitem__('LIBPATH') > if env.has_key('LIBS'): > env.__delitem__('LIBS') >- if env.has_key('LINKFLAGS'): >- env.__delitem__('LINKFLAGS') >+# if env.has_key('LINKFLAGS'): >+# env.__delitem__('LINKFLAGS') > if env.has_key('QT3'): > env.__delitem__('QT3') > >+ if os.environ.has_key('CXXFLAGS'): >+ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS']) >+ if os.environ.has_key('LDFLAGS'): >+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) >+ > print BOLD + """ > --------------------------------------------------""" + NORMAL > print "Use MinGW compiler : ", >@@ -189,7 +195,7 @@ > env.Append(CXXFLAGS = '-g') > else: > print 'no ' >- env.Append(CXXFLAGS = '-O2' ) >+# env.Append(CXXFLAGS = '-O2' ) > env.Append(CPPDEFINES = ['NDEBUG', 'NO_DEBUG']) > env['DEBUG'] = 0 > >@@ -309,6 +315,10 @@ > ( 'LINKFLAGS', 'linker flags'), > ( 'QT3', 'use qt3') > ) >+if os.environ.has_key('CC'): >+ env['CC'] = os.environ['CC'] >+if os.environ.has_key('CXX'): >+ env['CXX'] = os.environ['CXX'] > opts.Update(env) > > # to avoid an error message 'how to make target configure... ?'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 334465
:
244571
|
254085
| 254087