~ubuntu-branches/ubuntu/vivid/mpv/vivid

« back to all changes in this revision

Viewing changes to waftools/detections/compiler.py

  • Committer: Package Import Robot
  • Author(s): Logan Rosen
  • Date: 2014-12-22 19:08:25 UTC
  • mfrom: (28.1.3 vivid-proposed)
  • Revision ID: package-import@ubuntu.com-20141222190825-bdtz8aiwvv65wpmi
Tags: 0.7.2-1ubuntu1
debian/rules: Disable altivec on ppc64el again, as it FTBFS with it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
def __add_gcc_flags__(ctx):
32
32
    ctx.env.CFLAGS += ["-Wall", "-Wundef", "-Wmissing-prototypes", "-Wshadow",
33
33
                       "-Wno-switch", "-Wno-parentheses", "-Wpointer-arith",
34
 
                       "-Wredundant-decls", "-Wno-pointer-sign",
35
 
                       "-Werror=implicit-function-declaration",
36
 
                       "-Wno-error=deprecated-declarations",
37
 
                       "-Wno-error=unused-function" ]
38
 
    __test_and_add_flags__(ctx, ["-Wempty-body"])
39
 
    __test_and_add_flags__(ctx, ["-Wdisabled-optimization"])
40
 
    __test_and_add_flags__(ctx, ["-Wstrict-prototypes"])
41
 
    __test_and_add_flags__(ctx, ["-Wno-format-zero-length"])
 
34
                       "-Wredundant-decls", "-Wno-pointer-sign"]
 
35
    __test_and_add_flags__(ctx, ["-Werror=implicit-function-declaration",
 
36
                                 "-Wno-error=deprecated-declarations",
 
37
                                 "-Wno-error=unused-function",
 
38
                                 "-Wempty-body",
 
39
                                 "-Wdisabled-optimization",
 
40
                                 "-Wstrict-prototypes",
 
41
                                 "-Wno-format-zero-length"])
42
42
 
43
43
def __add_clang_flags__(ctx):
44
44
    ctx.env.CFLAGS += ["-Wno-logical-op-parentheses", "-fcolor-diagnostics",