diff mbox series

Use default m32/m64 gcc flag for xscom-utils

Message ID 20190821181119.GH32376@kin.test.toulouse-stg.fr.ibm.com
State Accepted
Headers show
Series Use default m32/m64 gcc flag for xscom-utils | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch warning Failed to apply on branch master (a1fced25bf41f1f94a3673a0b2bf68135eedce25)
snowpatch_ozlabs/apply_patch fail Failed to apply to any branch

Commit Message

Frédéric Bonnard Aug. 21, 2019, 4:11 p.m. UTC
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@debian.org>
---
 external/xscom-utils/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stewart Smith Sept. 1, 2019, 5:04 p.m. UTC | #1
On Wed, Aug 21, 2019, at 9:11 AM, Frédéric Bonnard wrote:
> On x86, 32b compilation fails, assuming that the build machine is 64b.
> Let's not force the compiler flag.

Hrm... no idea why we would have set that way back when... probably a copy and paste from somewhere

Acked-by: Stewart Smith <stewart@flamingspork.com>
diff mbox series

Patch

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