diff options
| author | Elliot Ronaghan <ronawho@gmail.com> | 2016-06-14 15:26:29 -0700 |
|---|---|---|
| committer | Elliot Ronaghan <ronawho@gmail.com> | 2016-07-07 13:45:48 -0700 |
| commit | 3ef67930e025cbc68735d0ebd2de7690c816658c (patch) | |
| tree | 5cd6d563a4ac03a902587ff6ea11c00bbbdb58df /configure.ac | |
| parent | aec07531bcfbdceaad020aee0048581d72a8c26f (diff) | |
| download | platform_external_jemalloc_new-3ef67930e025cbc68735d0ebd2de7690c816658c.tar.gz platform_external_jemalloc_new-3ef67930e025cbc68735d0ebd2de7690c816658c.tar.bz2 platform_external_jemalloc_new-3ef67930e025cbc68735d0ebd2de7690c816658c.zip | |
Disable automatic dependency generation for the Cray compiler
Cray only supports `-M` for generating dependency files. It does not support
`-MM` or `-MT`, so don't try to use them. I just reused the existing mechanism
for turning auto-dependency generation off (`CC_MM=`), but it might be more
principled to add a configure test to check if the compiler supports `-MM` and
`-MT`, instead of manually tracking which compilers don't support those flags.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 1f0cc1f3..db616e0e 100644 --- a/configure.ac +++ b/configure.ac @@ -323,6 +323,10 @@ if test "x$je_cv_cray_prgenv_wrapper" = "xyes" ; then TEST_LD_MODE='-dynamic' fi +if test "x${je_cv_cray}" = "xyes" ; then + CC_MM= +fi + AN_MAKEVAR([AR], [AC_PROG_AR]) AN_PROGRAM([ar], [AC_PROG_AR]) AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL(AR, ar, :)]) |
