aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2016-05-26 10:47:16 -0400
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-06-07 17:00:33 +1000
commite415b3b9bf0441745f442e12bfce25ed49c589bf (patch)
tree7d0b670bacd8d7a8a5ad5ecb2b4351a9dc7673fc /external
parente5fc583e610d4360f8fe50f225c868cb3019c1a7 (diff)
downloadskiboot-e415b3b9bf0441745f442e12bfce25ed49c589bf.zip
skiboot-e415b3b9bf0441745f442e12bfce25ed49c589bf.tar.gz
skiboot-e415b3b9bf0441745f442e12bfce25ed49c589bf.tar.bz2
external: Remove -m64 from shared CFLAGS on ARM
-m64 isn't an ARM flag. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external')
-rw-r--r--external/shared/Makefile5
1 files changed, 4 insertions, 1 deletions
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