Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CPUTYPE=native
- MACHINE=amd64
- MACHINE_ARCH=amd64 # Code seems to break if MACHINE!=MACHINE_ARCH
- AR=/usr/local/bin/ar
- AS=/usr/local/bin/as
- LD=/usr/local/bin/ld -O1
- NM=/usr/local/bin/nm
- OBJCOPY=/usr/local/bin/objcopy
- OBJDUMP=/usr/local/bin/objdump
- RANLIB=/usr/local/bin/ranlib
- SIZE=/usr/local/bin/size
- LIBSTDCPLUSPLUS=/usr/local/lib/gcc45/libstdc++.a # This removes the dependency on the native CXX
- CC=ccache /usr/local/bin/gcc45 -D__FreeBSD_cc_version=801000 -D__FreeBSD_version=801000 -D__FreeBSD__=8 -D__OPTIMIZE__ -Wl,-O1 -fno-strict-aliasing -fno-prefetch-loop-arrays -fno-align-labels -fno-tree-vect-loop-version -frename-registers -fweb -fsched-pressure -fira-loop-pressure -ffast-math -fivopts -ftree-loop-ivcanon -ftree-loop-im -fgcse-sm -fgcse-las -fpredictive-commoning -fgcse-after-reload -fmodulo-sched -fmodulo-sched-allow-regmoves -freschedule-modulo-scheduled-loops -pipe --param max-inline-insns-single=512 --param max-inline-insns-recursive=512 --param max-inline-insns-recursive-auto=512 --param max-delay-slot-insn-search=256 --param max-pending-list-length=64 --param max-gcse-memory=1073741824 --param max-iterations-computation-cost=16 --param sms-max-ii-factor=128 --param max-cse-path-length=16 --param max-cse-insns=1024 --param iv-max-considered-uses=512 --param iv-consider-all-candidates-bound=64 --param iv-always-prune-cand-set-bound=16 --param scev-max-expr-size=32 --param omega-max-vars=256 --param omega-max-geqs=512 --param omega-max-eqs=256 --param omega-max-wild-cards=32 --param omega-hash-table-size=1024 --param omega-max-keys=896 --param omega-eliminate-redundant-constraints=1 --param max-cselib-memory-locations=1024 --param max-reload-search-insns=256 --param max-sched-region-insns=256 --param max-pipeline-region-blocks=16 --param max-pipeline-region-insns=256 --param selsched-max-lookahead=128 --param max-last-value-rtl=16384 --param max-sched-ready-insns=256 --param max-partial-antic-length=0 --param sccvn-max-scc-size=16384 --param ira-max-loops-num=128 --param graphite-max-nb-scop-params=16 --param graphite-max-bbs-per-function=128 --param loop-invariant-max-bbs-in-loop=16384
- CXX=ccache /usr/local/bin/g++45 -D__FreeBSD_cc_version=801000 -D__FreeBSD_version=801000 -D__FreeBSD__=8 -D__OPTIMIZE__ -Wl,-O1 -fno-strict-aliasing -fno-prefetch-loop-arrays -fno-align-labels -fno-tree-vect-loop-version -frename-registers -fweb -fsched-pressure -fira-loop-pressure -ffast-math -fivopts -ftree-loop-ivcanon -ftree-loop-im -fgcse-sm -fgcse-las -fpredictive-commoning -fgcse-after-reload -fmodulo-sched -fmodulo-sched-allow-regmoves -freschedule-modulo-scheduled-loops -pipe --param max-inline-insns-single=512 --param max-inline-insns-recursive=512 --param max-inline-insns-recursive-auto=512 --param max-delay-slot-insn-search=256 --param max-pending-list-length=64 --param max-gcse-memory=1073741824 --param max-iterations-computation-cost=16 --param sms-max-ii-factor=128 --param max-cse-path-length=16 --param max-cse-insns=1024 --param iv-max-considered-uses=512 --param iv-consider-all-candidates-bound=64 --param iv-always-prune-cand-set-bound=16 --param scev-max-expr-size=32 --param omega-max-vars=256 --param omega-max-geqs=512 --param omega-max-eqs=256 --param omega-max-wild-cards=32 --param omega-hash-table-size=1024 --param omega-max-keys=896 --param omega-eliminate-redundant-constraints=1 --param max-cselib-memory-locations=1024 --param max-reload-search-insns=256 --param max-sched-region-insns=256 --param max-pipeline-region-blocks=16 --param max-pipeline-region-insns=256 --param selsched-max-lookahead=128 --param max-last-value-rtl=16384 --param max-sched-ready-insns=256 --param max-partial-antic-length=0 --param sccvn-max-scc-size=16384 --param ira-max-loops-num=128 --param graphite-max-nb-scop-params=16 --param graphite-max-bbs-per-function=128 --param loop-invariant-max-bbs-in-loop=16384
- # Here is a wish list for currently unreliable flags to use in the future.
- #-fwhole-program -flto -ftracer -fselective-scheduling -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops
- CFLAGS= -O2 -Wno-error=cast-qual -Wno-error=parentheses -Wno-error=unused-function -Wno-error=switch-enum -Wno-error=switch -Wno-error=enum-compare -Wno-error=uninitialized -Wno-error=inline -fno-crossjumping -funswitch-loops -ftree-vectorize -ftree-slp-vectorize -fipa-cp-clone -freorder-blocks-and-partition -fvect-cost-model -ftree-loop-distribution -maccumulate-outgoing-args
- COPTFLAGS= -O2 -Wno-error=cast-qual -Wno-error=parentheses -Wno-error=unused-function -Wno-error=switch-enum -Wno-error=switch -Wno-error=enum-compare -Wno-error=uninitialized -Wno-error=inline -fno-crossjumping -funswitch-loops -ftree-vectorize -ftree-slp-vectorize -fipa-cp-clone -freorder-blocks-and-partition -fvect-cost-model -ftree-loop-distribution -maccumulate-outgoing-args
- # More hacking needs to be done to build these correctly; however, this should be considered unnecessary
- # since we can build gperf, groff, and devd anyway.
- WITHOUT_CXX=yes
- WITHOUT_OBJC=yes
- # hptmv: __ArrayTables in hptmv needs to be converted to a BYTE*
- WITHOUT_MODULES = hptmv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement