~ubuntu-branches/debian/sid/tdb/sid

« back to all changes in this revision

Viewing changes to buildtools/wafsamba/samba_autoconf.py

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2014-12-01 21:44:24 UTC
  • mfrom: (1.4.11)
  • Revision ID: package-import@ubuntu.com-20141201214424-9w871mf4fvvh8tdl
Tags: 1.3.2-1
* New upstream release.
 + Fixes __attribute__((visibility)) check to not use nested functions.
   Closes: #749986
* Drop missing-stdbool-include.patch; now included upstream.
* Update 40_test_transaction_expand_non_fatal.diff: Ignore tdb1-run-
  mutex-openflags2 test output, since newly added test fails on
  Debian.
* Bump standards version to 3.9.6 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
671
671
                        testflags=True)
672
672
        conf.ADD_CFLAGS('-Werror=declaration-after-statement -Wdeclaration-after-statement',
673
673
                        testflags=True)
 
674
        conf.ADD_CFLAGS('-Werror=return-type -Wreturn-type',
 
675
                        testflags=True)
674
676
 
675
677
        conf.ADD_CFLAGS('-Wformat=2 -Wno-format-y2k', testflags=True)
676
678
        # This check is because for ldb_search(), a NULL format string
689
691
            conf.env['EXTRA_CFLAGS'].extend(TO_LIST("-Werror=format"))
690
692
 
691
693
    if Options.options.picky_developer:
692
 
        conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Werror', testflags=True)
 
694
        conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Werror -Wno-error=deprecated-declarations', testflags=True)
693
695
 
694
696
    if Options.options.fatal_errors:
695
697
        conf.ADD_CFLAGS('-Wfatal-errors', testflags=True)
763
765
 
764
766
 
765
767
 
766
 
def CURRENT_CFLAGS(bld, target, cflags, allow_warnings=True, hide_symbols=False):
 
768
def CURRENT_CFLAGS(bld, target, cflags, allow_warnings=False, hide_symbols=False):
767
769
    '''work out the current flags. local flags are added first'''
768
770
    ret = TO_LIST(cflags)
769
771
    if not 'EXTRA_CFLAGS' in bld.env: