Commit 9c85d828 authored by Seth R. Johnson's avatar Seth R. Johnson Committed by Guillem Jover

Fix ELF detection on Intel compilers

The Intel compiler does not define __amd64__ on x86_64 platforms;
instead, like other compilers, it defines __x86_64__ .

Closes: !8Signed-off-by: Guillem Jover's avatarGuillem Jover <guillem@hadrons.org>
parent eac4ce0c
......@@ -45,7 +45,7 @@
#define ELF_TARG_CLASS ELFCLASS64
#define ELF_TARG_DATA ELFDATA2LSB
#elif defined(__amd64__)
#elif defined(__amd64__) || defined(__x86_64__)
#define ELF_TARG_MACH EM_X86_64
#if defined(__ILP32__)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment