Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fallback when -march=native isn't supported

Fixes gh-63
  • Loading branch information...
commit c8f13e37be43f578f0913e3834a1449bce4417ce 1 parent 6a1ee1c
@laverdet authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Makefile
  2. +1 −1  package.json
View
2  Makefile
@@ -4,7 +4,7 @@ FIBERS_SO := $(shell echo `pwd`/src/fibers.node)
all: fibers test
native:
- FIBERS_NATIVE=1 ${MAKE} all
+ FIBERS_NATIVE=1 $(MAKE) all || $(MAKE) fibers
fibers: $(FIBERS_SO)
View
2  package.json
@@ -8,7 +8,7 @@
"author": "Marcel Laverdet <marcel@laverdet.com> (https://github.com/laverdet/)",
"main": "fibers",
"scripts": {
- "install": "make clean native || gmake clean native"
+ "install": "$(which gmake || which make) clean native"
},
"man": "./man/fibers.1",
"repository": {
Please sign in to comment.
Something went wrong with that request. Please try again.