Changeset 292


Ignore:
Timestamp:
11/06/16 13:45:25 (8 years ago)
Author:
tim
Message:

A few build option changes suggested by Giovani Ferreira

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r283 r292  
    1111cflags = '-std=gnu99 -pedantic -Wall -D_FILE_OFFSET_BITS=64 -fvisibility=hidden'
    1212cflags += ' -DREGFI_VERSION=\'"%s"\' ' % REGFI_VERSION
    13 cflags += os.environ.get('CFLAGS','-fPIE -pie -fstack-protector -D_FORTIFY_SOURCE=2')
     13cflags += os.environ.get('CFLAGS','-fPIE -pie -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2')
    1414
    1515linkflags = "-fPIC " + os.environ.get('LDFLAGS',"-Wl,-z,relro,-z,now")
     
    2626                  CFLAGS=cflags,
    2727                  LINKFLAGS=linkflags,
    28                   CPPPATH=['include', '/usr/local/include'],
    29                   LIBPATH=['lib', '/usr/local/lib'],
     28                  CPPPATH=['include', '/usr/local/include', '/usr/include'],
     29                  LIBPATH=['lib', '/usr/local/lib','/usr/lib'],
    3030                  LIBS=['m', 'pthread', 'regfi', 'talloc'])
    3131
Note: See TracChangeset for help on using the changeset viewer.