Commit 4772f6cb authored by Damian Montero's avatar Damian Montero Committed by GitHub

making the -64 parameter only for 64bit processors

parent 73bf032c
......@@ -11,7 +11,12 @@ class Node < Package
depends_on 'python27'
def self.build
system "CC='gcc -m64' python2.7 ./configure --without-snapshot"
case ARCH
when "x86_64" || "aarch64"
system "CC='gcc -m64' python2.7 ./configure --without-snapshot"
else
system "CC='gcc' python2.7 ./configure --without-snapshot"
end
system "make"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment