shithub: mc

Download patch

ref: a20f753e2585ef887f7242e7bd8863836df65715
parent: f5bfe1d30b12311b6347ca71eb00b4ca86ff7484
author: Ori Bernstein <[email protected]>
date: Tue Jun 19 16:06:43 EDT 2012

Use the appropriate assembler for OSX.

--- a/8/platform.h
+++ b/8/platform.h
@@ -1,8 +1,9 @@
 #if defined(__APPLE__) && defined(__MACH__)
 /* for OSX */
+#   define Assembler "as -arch i386 -g -o %s -"
 #   define Fprefix "_"
 #else
 /* Default to linux */
+#   define Assembler "as --32 -g -o %s -"
 #   define Fprefix ""
 #endif
-#define Assembler "as --32 -g -o %s -"