Changeset 80160
- Timestamp:
- 07/05/11 10:06:49 (4 years ago)
- Location:
- trunk/dports/lang
- Files:
-
- 4 edited
-
gcc40/Portfile (modified) (1 diff)
-
gcc42/Portfile (modified) (1 diff)
-
gcc43/Portfile (modified) (1 diff)
-
gcc44/Portfile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/lang/gcc40/Portfile
r73842 r80160 92 92 } 93 93 94 platform darwin 11 { 95 pre-fetch { 96 return -code error "$name does not build on Lion." 97 } 98 } 99 94 100 livecheck.type regex 95 101 livecheck.url http://gcc.gnu.org/gcc-4.0/ -
trunk/dports/lang/gcc42/Portfile
r78606 r80160 62 62 if {${os.major} >= 10} { 63 63 pre-fetch { 64 ui_error "$name does not build on Snow Leopard ."64 ui_error "$name does not build on Snow Leopard or later." 65 65 error "unsupported platform" 66 66 } -
trunk/dports/lang/gcc43/Portfile
r79828 r80160 99 99 STRIP_FOR_TARGET=/usr/bin/strip 100 100 101 # STAGE1_CFLAGS="-O2 -fkeep-inline-functions" : from configure.ac 102 # BOOT_CFLAGS="-O2 -g" : from Makefile.tpl 103 # -std=gnu89 : for building with compilers that default to c99 104 # -D_FORTIFY_SOURCE=0 : The built compiler might not understand newer builtins 105 # exposed in libc headers for fortified string functions. 106 # Yes, we need to set both BOOT_CFLAGS and STAGE1_CFLAGS 107 # because STAGE1_CFLAGS is used with xgcc for libgcc 108 if {${configure.compiler} == "clang"} { 109 # -O1 in STAGE1_CFLAGS : <rdar://problem/9720596> 110 build.args-append BOOT_CFLAGS="-O2 -g -D_FORTIFY_SOURCE=0" STAGE1_CFLAGS="-O1 -fkeep-inline-functions -D_FORTIFY_SOURCE=0 -std=gnu89" 111 } else { 112 build.args-append BOOT_CFLAGS="-O2 -g -D_FORTIFY_SOURCE=0" STAGE1_CFLAGS="-O2 -fkeep-inline-functions -D_FORTIFY_SOURCE=0 -std=gnu89" 113 } 114 101 115 use_parallel_build yes 102 116 -
trunk/dports/lang/gcc44/Portfile
r78606 r80160 101 101 use_parallel_build yes 102 102 103 # STAGE1_CFLAGS="-O2 -fkeep-inline-functions" : from configure.ac 104 # BOOT_CFLAGS="-O2 -g" : from Makefile.tpl 105 # -std=gnu89 : for building with clang 106 # -D_FORTIFY_SOURCE=0 : The built compiler might not understand newer builtins 107 # exposed in libc headers for fortified string functions. 108 # Yes, we need to set both BOOT_CFLAGS and STAGE1_CFLAGS 109 # because STAGE1_CFLAGS is used with xgcc for libgcc 110 build.args-append BOOT_CFLAGS="-O2 -g -D_FORTIFY_SOURCE=0" STAGE1_CFLAGS="-O2 -fkeep-inline-functions -D_FORTIFY_SOURCE=0 -std=gnu89" 111 103 112 destroot.target install install-info-host 104 113 … … 120 129 121 130 platform darwin 10 { 131 configure.args-append --enable-fully-dynamic-string 132 } 133 134 platform darwin 11 { 122 135 configure.args-append --enable-fully-dynamic-string 123 136 }
Note: See TracChangeset
for help on using the changeset viewer.

