pkgsrc/mk/compiler
marino b37304e0ba compiler.mk, gcc.mk: Implement DRAGONFLY_CCVER
DragonFly has two compilers in base, GCC 4.4.7 and GCC 4.7.2.
The way one switches between them for userland programs is to set
CCVER in the environment.

However, to set this via make.conf is tricky.  I've been using the
low level "ALL_ENV+= CCVER=gcc47", but this trick fails to properly
identify the compiler which results in _GCC_VERSION being incorrectly
defined.

Additionally, there are some prominent packages that do not build on
gcc 4.7 and the fix is either not fully understood or would require a
large amount of work to implement.  In these cases, it is desireable
to specify the package be built on gcc 4.4 regardless of CCVER setting.

To address these issues, a new directive is added: DRAGONFLY_CCVER.
It is only effective if OPSYS equals "DragonFly", and it will properly
set CCVER and properly define _GCC_VERSION.  It will also allow a
per package specification of a particular compiler in the pkg makefile.
2012-12-12 20:49:01 +00:00
..
ccache.mk Add CCACHE_COMPILERCHECK to the environment when using ccache. 2012-03-06 02:44:54 +00:00
ccc.mk Learn from the AIX issues with hard links to symbolic links and always 2009-06-02 22:32:49 +00:00
clang.mk If the clang-cpp alias exists, use it as default CPP in pkgsrc. 2011-07-19 14:02:47 +00:00
distcc.mk
f2c.mk Implement "fortran77" as alias for "fortran". 2010-07-30 07:58:58 +00:00
g95.mk Fix setup of g95 as PKGSRC_FORTRAN for fortran77 packages. 2011-09-28 19:31:09 +00:00
gcc.mk compiler.mk, gcc.mk: Implement DRAGONFLY_CCVER 2012-12-12 20:49:01 +00:00
hp.mk Learn from the AIX issues with hard links to symbolic links and always 2009-06-02 22:32:49 +00:00
icc.mk Apply the patch from my own pkg/42480. 2011-05-19 22:37:55 +00:00
ido.mk Learn from the AIX issues with hard links to symbolic links and always 2009-06-02 22:32:49 +00:00
mipspro-ucode.mk Fix bug in .include directive. This fixes mipspro support on IRIX. 2011-05-08 10:37:54 +00:00
mipspro.mk Fix bootstrap on IRIX with mipspro compiler, for details 2011-08-22 09:18:29 +00:00
pcc.mk Remove possibly confusing variable assignment. 2010-12-26 14:23:47 +00:00
sunpro.mk Implement "fortran77" as alias for "fortran". 2010-07-30 07:58:58 +00:00
xlc.mk README.C not README.c, says veego who seems to be afraid to use his commit bit. 2011-10-30 23:11:33 +00:00