Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Dec 2011 13:40:04 -0500
From:      Mike Jakubik <mike.jakubik@intertainservices.com>
To:        freebsd-java@freebsd.org
Subject:   Compiling OpenJDK6 with a different compiler
Message-ID:  <1324406404.1967.2.camel@localhost>

next in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1324406404.1967.2.camel>