Compiling OpenJDK6 with a different compiler
Mike Jakubik
mike.jakubik at intertainservices.com
Tue Dec 20 18:57:37 UTC 2011
Hello,
I am trying to compile OpneJDK6 with gcc 4.6, however this port does not
seem to respect the CC and CXX environment variables. Any suggestions on
how i can get around this?
My /etc/make.conf.
.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc46)
CPUTYPE?=corei7
CC=gcc46
CXX=g++46
CPP=cpp46
CFLAGS+=-mtune=corei7 -maes -mssse3 -msse4.1 -msse4.2
.endif
Thanks.
More information about the freebsd-java
mailing list