This shows you the differences between two versions of the page.
force_make_to_use_gcc44 [2011/04/16 02:00] k2patel created |
force_make_to_use_gcc44 [2020/08/10 02:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== FreeBSD make.conf ====== | ||
- | ==== How to force to use latest gcc4x ==== | ||
- | |||
- | It is usually require to done while building ffmpeg on freebsd.\\ | ||
- | Some script require it will be build using gcc44 so it does not complaint.\\ | ||
- | add following lines to start using gcc44.\\ | ||
- | replace number 44 with desired version. should do it. | ||
- | |||
- | <code bash | /etc/make.conf> | ||
- | .if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc44) | ||
- | CC=gcc44 | ||
- | CXX=g++44 | ||
- | CPP=cpp44 | ||
- | .endif | ||
- | </code> | ||
- | |||