]> granicus.if.org Git - procps-ng/commitdiff
MIPS needs -mabi=64 instead of -m64 (lusers)
authoralbert <>
Wed, 18 Aug 2004 02:24:06 +0000 (02:24 +0000)
committeralbert <>
Wed, 18 Aug 2004 02:24:06 +0000 (02:24 +0000)
Makefile

index 2519179df69428ba7ff24d156c3eafa12ae17337..08160f56313c683a8e5a9c61ad803c7fc4c8c18a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -132,7 +132,7 @@ ALL_CFLAGS += $(call check_gcc,-fno-inline-functions,)
 # produce separate executables for ppc and ppc64, s390 and s390x,
 # i386 and x86-64, mips and mips64, sparc and sparc64, and so on.
 # Failure to do so will cause data corruption.
-m64 := $(call check_gcc,-m64,)
+m64 := $(call check_gcc,-m64,$(call check_gcc,-mabi=64,))
 ALL_CFLAGS += $(m64)
 
 endif