Ticket #32811: cairo-llvm-gcc-disable-lto.diff
File cairo-llvm-gcc-disable-lto.diff, 1.2 KB (added by raimue (Rainer Müller), 13 years ago) |
---|
-
files/patch-llvm-gcc-lto.diff
1 --- configure.orig 2012-01-09 03:44:48.000000000 +0100 2 +++ configure 2012-01-09 03:45:01.000000000 +0100 3 @@ -17236,7 +17236,7 @@ 4 MAYBE_WARN="$MAYBE_WARN -erroff=E_ENUM_TYPE_MISMATCH_ARG \ 5 -erroff=E_ENUM_TYPE_MISMATCH_OP" 6 7 -MAYBE_WARN="$MAYBE_WARN -fno-strict-aliasing -fno-common -flto" 8 +MAYBE_WARN="$MAYBE_WARN -fno-strict-aliasing -fno-common" 9 10 MAYBE_WARN="$MAYBE_WARN -Wp,-D_FORTIFY_SOURCE=2" 11 -
Portfile
95 95 } 96 96 } 97 97 98 if {${configure.compiler} == "clang" || 99 ${configure.compiler} == "llvm-gcc-4.2"} { 100 configure.compiler gcc-4.2 101 if {![file executable ${configure.cc}]} { 102 depends_build-append port:apple-gcc42 103 configure.compiler apple-gcc-4.2 104 } 98 if {${configure.compiler} == "llvm-gcc-4.2"} { 99 patchfiles patch-llvm-gcc-lto.diff 105 100 } 106 101 107 102 platform darwin 9 {