Changeset 1329

Show
Ignore:
Timestamp:
09/23/08 01:29:01 (10 years ago)
Author:
ppalmers
Message:

re #156: should fix the build issue on x64

Files:

Legend:

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

    r1301 r1329  
    472472 
    473473    # build for 64-bit userland? 
    474     if env['DIST_TARGET'] == "powerpc64" or env['DIST_TARGET'] == "x86_64"
    475         print "Doing a 64-bit build" 
     474    if env['DIST_TARGET'] == "powerpc64"
     475        print "Doing a 64-bit PowerPC build" 
    476476        env.AppendUnique( CCFLAGS=["-m64"] ) 
    477477        env.AppendUnique( CFLAGS=["-m64"] ) 
     478    elif env['DIST_TARGET'] == "x86_64": 
     479        print "Doing a 64-bit x86 build" 
     480        env.AppendUnique( CCFLAGS=["-m64","-fPIC"] ) 
     481        env.AppendUnique( CFLAGS=["-m64","-fPIC"] ) 
    478482    else: 
    479483        print "Doing a 32-bit build" 
    480        env.AppendUnique( CCFLAGS=["-m32"] ) 
    481        env.AppendUnique( CFLAGS=["-m32"] ) 
     484        env.AppendUnique( CCFLAGS=["-m32"] ) 
     485        env.AppendUnique( CFLAGS=["-m32"] ) 
    482486 
    483487# end of processor-specific section