Changeset 292 for trunk/SConstruct
- Timestamp:
- 11/06/16 13:45:25 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r283 r292 11 11 cflags = '-std=gnu99 -pedantic -Wall -D_FILE_OFFSET_BITS=64 -fvisibility=hidden' 12 12 cflags += ' -DREGFI_VERSION=\'"%s"\' ' % REGFI_VERSION 13 cflags += os.environ.get('CFLAGS','-fPIE -pie -fstack-protector -D_FORTIFY_SOURCE=2')13 cflags += os.environ.get('CFLAGS','-fPIE -pie -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2') 14 14 15 15 linkflags = "-fPIC " + os.environ.get('LDFLAGS',"-Wl,-z,relro,-z,now") … … 26 26 CFLAGS=cflags, 27 27 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'], 30 30 LIBS=['m', 'pthread', 'regfi', 'talloc']) 31 31
Note: See TracChangeset
for help on using the changeset viewer.