From 06208f4f845a26dec5bb8b6a031db276da465b50 Mon Sep 17 00:00:00 2001 From: malc Date: Tue, 8 Sep 2009 06:58:47 +0400 Subject: [PATCH] idlestat _must_ be built as 64bit application on x86_64 Ditto for ml_apc.c but that's beyond our control, since ocaml is invoking gcc and the two must agree on the number of bits anyway. --- build.linux.console | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.linux.console b/build.linux.console index 5b4086b..627adb2 100755 --- a/build.linux.console +++ b/build.linux.console @@ -2,7 +2,11 @@ set -e +case $(uname -m) in + "x86_64") flags=-m64 ;; + *) ;; +esac cc -o hog -Wall -Werror -pedantic -W hog.c -cc -o idlestat -Wall -Werror -W idlestat.c +cc -o idlestat $flags -Wall -Werror -W idlestat.c (cd mod && make) -- 2.11.4.GIT