Skip to content

Instantly share code, notes, and snippets.

@andrewray
Created July 16, 2014 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewray/b9091d1d36d2b9546549 to your computer and use it in GitHub Desktop.
Save andrewray/b9091d1d36d2b9546549 to your computer and use it in GitHub Desktop.
configure-amd64-freebsd.patch
diff -rupN ocaml-4.01/configure ocaml-4.01-fix/configure
--- ocaml-4.01/configure 2014-04-03 17:16:33.000000000 +0100
+++ ocaml-4.01-fix/configure 2014-07-10 12:38:55.000000000 +0100
@@ -769,6 +769,8 @@ case "$arch,$model,$system" in
fi;;
amd64,*,solaris) as='as --64'
aspp='gcc -m64 -c';;
+ amd64,*,freebsd) as='as'
+ aspp='cc -c';;
amd64,*,*) as='as'
aspp='gcc -c';;
arm,*,*) as='as';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment