Skip to content

Instantly share code, notes, and snippets.

@kgadek
Created May 29, 2015 22:11
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 kgadek/3a63e97f22af605a7d71 to your computer and use it in GitHub Desktop.
Save kgadek/3a63e97f22af605a7d71 to your computer and use it in GitHub Desktop.
Patch for freebsd-port math/gmp to work on Raspberry Pi 2B
--- Makefile 2015-05-30 00:08:53.000000000 +0200
+++ MakefileRPi 2015-05-30 00:08:22.000000000 +0200
@@ -37,7 +37,8 @@
CONFIGURE_ENV+= ABI="64"
.endif
.else
-CONFIGURE_ENV+= ABI="32"
+CONFIGURE_ENV+= ABI="standard"
+CONFIGURE_ARGS+=--enable-assembly=no
.endif
post-extract:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment