Changeset 80126
- Timestamp:
- 07/04/11 17:23:08 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/lang/apple-gcc42/Portfile (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/lang/apple-gcc42/Portfile
r80114 r80126 4 4 5 5 name apple-gcc42 6 version 566 46 version 5666.3 7 7 categories lang 8 8 platforms darwin … … 15 15 master_sites http://opensource.apple.com/tarballs/gcc/ 16 16 distname gcc-${version} 17 checksums md5 cc7f9e2fbae5548a2abec19ba6fd1b78\18 sha1 e1aed094e2a68dc2a877e4c32caddaa1511175ed\19 rmd160 c22787601b7dc08fe85d5c3328ad3ea2efa727e1 17 checksums md5 188c7769db5c898922b0976fab148a63 \ 18 sha1 292a0cfcfdc061cb083658efd9a3812a120a1f50 \ 19 rmd160 a01d000f89c0e89dd0079dcd202bba7629ba78dc 20 20 21 21 post-extract { file mkdir ${workpath}/build } … … 45 45 destroot.dir ${build.dir} 46 46 47 # STAGE1_CFLAGS="-O2 -fkeep-inline-functions" : from configure.ac 48 # BOOT_CFLAGS="-O2 -g" : from Makefile.tpl 49 # -std=gnu89 : for building with compilers that default to c99 (clang) 50 # -D_FORTIFY_SOURCE=0 : The built compiler might not understand newer builtins 51 # exposed in libc headers for fortified string functions. 52 # Yes, we need to set both BOOT_CFLAGS and STAGE1_CFLAGS 53 # because STAGE1_CFLAGS is used with xgcc for libgcc 54 build.args-append BOOT_CFLAGS="-O2 -g -D_FORTIFY_SOURCE=0" STAGE1_CFLAGS="-O2 -fkeep-inline-functions -D_FORTIFY_SOURCE=0 -std=gnu89" 55 47 56 post-destroot { 48 57 file delete -force \ … … 51 60 } 52 61 53 # clang can't build gcc54 if {${configure.compiler} == "clang"} {55 configure.compiler llvm-gcc-4.256 }57 58 62 livecheck.type regex 59 63 livecheck.url [lindex ${master_sites} 0]
Note: See TracChangeset
for help on using the changeset viewer.

