Browse files

Merge pull request #25 from johannesh/patch-1

[fsevent_watch_guard] Support 32bit kernels
  • Loading branch information...
2 parents e8ae6af + 2ffb35a commit e50b4238f3e4f44ef98422e97d418fb7bf8dcdab @ttilley ttilley committed Dec 30, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 ext/extconf.rb
View
3 ext/extconf.rb
@@ -27,6 +27,9 @@
cflags = core_flags + %w{-Os -pipe}
+ arch_sig = `uname -m`
+ cflags << '-arch i386' if arch_sig =~ /i386$/i
+
wflags = %w{
-Wmissing-prototypes -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch
-Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable

0 comments on commit e50b423

Please sign in to comment.