diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-11-07 19:29:57 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-02-21 14:15:58 -0500 |
commit | 97c9506e4d0abe5e6a7d61c1a909741d2605507b (patch) | |
tree | a03bea8b6ed996ae8661200a9feeb1f542d050b3 | |
parent | 01c833379e19d8f8752ac7cec15b179c71242e2c (diff) |
fix build warnings when using --with-arch
Latest configure code will setup FC_ARCHITECTURE directly rather than
going through ARCHITECTURE, so update fcarch.h accordingly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | src/fcarch.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fcarch.h b/src/fcarch.h index 0c8cd053..9cabf045 100644 --- a/src/fcarch.h +++ b/src/fcarch.h @@ -62,9 +62,8 @@ # define FC_ARCH_SIZE_ALIGN "64" #endif -#ifdef ARCHITECTURE -# define ARCHITECTURE FC_ARCHITECTURE -#else +/* config.h might override this */ +#ifndef FC_ARCHITECTURE # define FC_ARCHITECTURE FC_ARCH_ENDIAN FC_ARCH_SIZE_ALIGN #endif |