Skip to content

Commit

Permalink
Fallback when -march=native isn't supported
Browse files Browse the repository at this point in the history
Fixes gh-63
  • Loading branch information
laverdet committed Apr 27, 2012
1 parent 6a1ee1c commit c8f13e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -4,7 +4,7 @@ FIBERS_SO := $(shell echo `pwd`/src/fibers.node)
all: fibers test all: fibers test


native: native:
FIBERS_NATIVE=1 ${MAKE} all FIBERS_NATIVE=1 $(MAKE) all || $(MAKE) fibers


fibers: $(FIBERS_SO) fibers: $(FIBERS_SO)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -8,7 +8,7 @@
"author": "Marcel Laverdet <marcel@laverdet.com> (https://github.com/laverdet/)", "author": "Marcel Laverdet <marcel@laverdet.com> (https://github.com/laverdet/)",
"main": "fibers", "main": "fibers",
"scripts": { "scripts": {
"install": "make clean native || gmake clean native" "install": "$(which gmake || which make) clean native"
}, },
"man": "./man/fibers.1", "man": "./man/fibers.1",
"repository": { "repository": {
Expand Down

0 comments on commit c8f13e3

Please sign in to comment.