Changeset 296 for trunk/SConstruct


Ignore:
Timestamp:
11/15/16 12:27:16 (8 years ago)
Author:
tim
Message:

added hardening flag that Debian wants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r292 r296  
    99# Package Maintainers: should any of these options in the first line be omitted during
    1010# package build, instead relying on CFLAGS/LDFLAGS to specify them when appropriate?
    11 cflags = '-std=gnu99 -pedantic -Wall -D_FILE_OFFSET_BITS=64 -fvisibility=hidden'
     11cflags = '-std=gnu99 -pedantic -Wall -Werror=format-security -D_FILE_OFFSET_BITS=64 -fvisibility=hidden'
    1212cflags += ' -DREGFI_VERSION=\'"%s"\' ' % REGFI_VERSION
    1313cflags += os.environ.get('CFLAGS','-fPIE -pie -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2')
Note: See TracChangeset for help on using the changeset viewer.