Skip to content

Instantly share code, notes, and snippets.

@azizshamim
Created November 1, 2011 19:55
Show Gist options
  • Save azizshamim/1331718 to your computer and use it in GitHub Desktop.
Save azizshamim/1331718 to your computer and use it in GitHub Desktop.
Patch for ree to help compile on ppc
--- ruby-enterprise-1.8.7-2011.03/source/Makefile.in 2011-02-24 04:09:12.000000000 -0600
+++ ruby-enterprise-1.8.7-2011.03/source/Makefile.in 2011-11-01 14:38:45.000000000 -0500
@@ -178,7 +178,7 @@
rm -f y.tab.c
.c.@OBJEXT@:
- $(CC) $(CFLAGS) $(CPPFLAGS) -c $<
+ $(CC) $(CFLAGS) $(CPPFLAGS) -Xassembler -mregnames -c $<
.s.@OBJEXT@:
$(AS) $(ASFLAGS) -o $@ $<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment