On 26 Nov 2013, at 22:43, Alexander Panyushkin <vsi...@gmail.com> wrote: ... > configure:4209: checking for C compiler default output file name > configure:4231: gcc46 -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe > -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security -O2 > -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Wformat -I/usr/local/include > -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 > -D_FORTIFY_SOURCE=2 -Wl,-rpath=/usr/local/lib/gcc46 conftest.c >&5 > gcc46: error: unrecognized option '-Qunused-arguments' > gcc46: error: unrecognized option '-Qunused-parameter' > configure:4235: $? = 1
Apparently the COMPILER_TYPE logic in bsd.compiler.mk does not detect you are using gcc, most likely because you are using USE_GCC= in make.conf. (This setting should normally be used in port Makefiles, not in make.conf, AFAIK.) Try one of the following: * Add COMPILER_TYPE=gcc in make.conf (in the part where you put USE_GCC) * Alternatively, remove USE_GCC and just set CC=gcc46, CXX=g++46 and CPP=cpp46. -Dimitry
signature.asc
Description: Message signed with OpenPGP using GPGMail