[Skiboot] [PATCH 2/4] external: Remove -m64 from shared CFLAGS on ARM
Brad Bishop
bradleyb at fuzziesquirrel.com
Thu May 26 11:54:29 AEST 2016
-m64 isn't an ARM flag.
Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
external/shared/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/external/shared/Makefile b/external/shared/Makefile
index 40ba2b9..b96c662 100644
--- a/external/shared/Makefile
+++ b/external/shared/Makefile
@@ -8,7 +8,10 @@ INCDIR = $(PREFIX)/include/libflash
VERSION = $(shell ../../make_version.sh)
-CFLAGS += -m64 -Werror -Wall -g2 -ggdb -I. -fPIC
+ifneq ($(ARCH), ARCH_ARM)
+CFLAGS += -m64
+endif
+CFLAGS += -Werror -Wall -g2 -ggdb -I. -fPIC
LIBFLASH_OBJS = libflash-file.o libflash-libflash.o libflash-libffs.o libflash-ecc.o libflash-blocklevel.o
ARCHFLASH_OBJS = common-arch_flash.o
--
2.7.4 (Apple Git-66)
More information about the Skiboot
mailing list