From d1d3534416ea209bf4dc5069127761bf840f0ce4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 7 Nov 2011 19:29:57 -0500 Subject: [PATCH] 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 --- src/fcarch.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/fcarch.h b/src/fcarch.h index 0c8cd05..9cabf04 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 -- 2.39.5