Skip to contentSkip to conversation

kbuild: dummy-tools: -mprofile-kernel is not limited to little endian

PATCH New Michal Suchanek 1 participant 1 message Aug 29, 2023 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kbuild: dummy-tools: -mprofile-kernel is not limited to little endian

Fixes aec0ba7472a7 ("powerpc/64: Use -mprofile-kernel for big endian ELFv2 kernels")
---
 scripts/dummy-tools/gcc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/dummy-tools/gcc +1 -1
index 1db1889f6d81..ebb34d016e5f 100755
@@ -85,7 +85,7 @@ if arg_contain -S "$@"; then
 	fi
 
 	# For arch/powerpc/tools/gcc-check-mprofile-kernel.sh
-	if arg_contain -m64 "$@" && arg_contain -mlittle-endian "$@" &&
+	if arg_contain -m64 "$@" &&
 		arg_contain -mprofile-kernel "$@"; then
 		if ! test -t 0 && ! grep -q notrace; then
 			echo "_mcount"
Signature · 1 line
2.41.0