Ticket #69380: patch-libffi-tests-GCC42.diff

File patch-libffi-tests-GCC42.diff, 1.3 KB (added by ballapete (Peter "Pete" Dyballa), 7 months ago)

Updated patch to let a few test PASS on PPC Leopard (and Tiger presumingly too)

  • testsuite/lib/libffi.exp

    old new  
    388388    if { [istarget "*-*-darwin9*"] || [istarget "*-*-darwin1*"]
    389389         || [istarget "*-*-darwin2*"] } {
    390390        # lappend options "additional_flags=-Wl,-allow_stack_execute"
    391         lappend options "additional_flags=-Wno-unused-command-line-argument"
    392391        lappend options "additional_flags=-Wl,-search_paths_first"
    393392    }
    394393
     
    516515        }
    517516      }
    518517      "gnu" {
    519         set common "-W -Wall -Wno-psabi"
     518        set common "-W -Wall"
    520519        if [info exists env(LIBFFI_TEST_OPTIMIZATION)] {
    521520          set optimizations [ list $env(LIBFFI_TEST_OPTIMIZATION) ]
    522521        } else {
  • testsuite/libffi.bhaible/bhaible.exp

    old new  
    2424# was done in a pretty lazy fashion, and requires the use of compiler
    2525# flags to disable warnings for now.
    2626if { [string match $compiler_vendor "gnu"] } {
    27     set warning_options "-Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized";
     27    set warning_options "";
    2828}
    2929if { [string match $compiler_vendor "microsoft"] } {
    3030    # -wd4996  suggest use of vsprintf_s instead of vsprintf