Skip to content

Commit c248442

Browse files
authored
Merge pull request #3465 from kavanabhat/develop
Fix truncated assembler checks used to build Power10 Kernels
2 parents 1470b7e + 9a45b51 commit c248442

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.system

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ ifeq ($(HOSTARCH), amd64)
1515
HOSTARCH=x86_64
1616
endif
1717

18-
HAVE_GAS := $(shell as -v < /dev/null 2>&1 | grep GNU 2>&1 >/dev/null)
19-
2018
# Catch conflicting usage of ARCH in some BSD environments
2119
ifeq ($(ARCH), amd64)
2220
override ARCH=x86_64
@@ -368,6 +366,8 @@ GCCMINORVERSIONGTEQ2 := $(shell expr `$(CC) $(GCCDUMPVERSION_PARAM) | cut -f2 -d
368366
GCCMINORVERSIONGTEQ7 := $(shell expr `$(CC) $(GCCDUMPVERSION_PARAM) | cut -f2 -d.` \>= 7)
369367
endif
370368

369+
HAVE_GAS := $(shell $(AS) -v < /dev/null 2>&1 | grep GNU 2>&1 >/dev/null ; echo $$?)
370+
371371
#
372372
# OS dependent settings
373373
#

0 commit comments

Comments
 (0)