[Skiboot] [PATCH] Use default m32/m64 gcc flag for xscom-utils

Frédéric Bonnard frediz at debian.org
Thu Aug 22 02:11:19 AEST 2019


On x86, 32b compilation fails, assuming that the build machine is 64b.
Let's not force the compiler flag.

Signed-off-by: Frédéric Bonnard <frediz at debian.org>
---
 external/xscom-utils/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/external/xscom-utils/Makefile b/external/xscom-utils/Makefile
index 574d5c81..33c0e881 100644
--- a/external/xscom-utils/Makefile
+++ b/external/xscom-utils/Makefile
@@ -2,7 +2,7 @@
 CC = $(CROSS_COMPILE)gcc
 
 XSCOM_VERSION ?= $(shell ../../make_version.sh xscom-utils)
-CFLAGS += -O2 -g -Wall -m64
+CFLAGS += -O2 -g -Wall
 
 prefix = /usr/local/
 sbindir = $(prefix)/sbin
-- 
2.20.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/skiboot/attachments/20190821/7df8b91a/attachment.sig>


More information about the Skiboot mailing list