Changeset 1455

Show
Ignore:
Timestamp:
11/22/08 11:16:09 (12 years ago)
Author:
arnonym
Message:

Import more env variables. This allows packagers (and from-source-optimizers) to break things but now we know whom to blame. ;-)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/libffado-2.0/SConstruct

    r1428 r1455  
    9191        'XDG_DATA_DIRS', 
    9292        'HOME', 
     93        'CC', 
     94        'CCFLAGS', 
     95        'CXX', 
     96        'CXXFLAGS', 
     97        'CPPFLAGS', 
    9398] 
    9499for var in vars_to_check: 
     
    100105env = Environment( tools=['default','scanreplace','pyuic','pyuic4','dbus','doxygen','pkgconfig'], toolpath=['admin'], ENV = buildenv, options=opts ) 
    101106 
    102 if os.environ.has_key('CC'): 
    103         env['CC'] = os.environ['CC'] 
    104 if os.environ.has_key('CXX'): 
    105         env['CXX'] = os.environ['CXX'] 
     107if os.environ.has_key('LDFLAGS'): 
     108        env['LINKFLAGS'] = os.environ['LDFLAGS'] 
    106109 
    107110# grab OS CFLAGS / CCFLAGS