Skip to content

Commit

Permalink
add -fno-delete-null-pointer-checks. who in gnu thought this was a go…
Browse files Browse the repository at this point in the history
…od idea?
  • Loading branch information
karlkleinpaste committed Aug 20, 2017
1 parent b062643 commit b609d74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wscript
Expand Up @@ -431,6 +431,10 @@ def configure(conf):
env.append_value('CXXFLAGS', env['CXXFLAGS_%s' % opt.debug_level.upper()])
env.append_value('CCFLAGS', env['CCFLAGS_%s' % opt.debug_level.upper()])

# stop the insanity. NULLs mean something. shocking, i know, but seriously...
env.append_value('CXXFLAGS', ['-fno-delete-null-pointer-checks'])
env.append_value('CCFLAGS', ['-fno-delete-null-pointer-checks'])

if opt.delint:
env.append_value('CXXFLAGS', env['CXXFLAGS_DELINT'])
env.append_value('CCFLAGS', env['CCFLAGS_DELINT'])
Expand Down

0 comments on commit b609d74

Please sign in to comment.