Skip to content

Commit

Permalink
Fix build on Mac OS X
Browse files Browse the repository at this point in the history
For some users -stack_size,0x4000 does not work,
so revert for now.

osX 10.6.8
gcc version 4.7.3 (MacPorts gcc47 4.7.3_2)

g++: error: unrecognized command line option '-stack_size,0x4000'
make[2]: *** [stockfish] Error 1
make[1]: *** [gcc-profile-make] Error 2
make: *** [profile-build] Error 2

No functional change.
  • Loading branch information
mcostalba committed Sep 28, 2013
1 parent c65d67f commit ed95ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Expand Up @@ -273,7 +273,7 @@ ifneq ($(comp),mingw)
endif

ifeq ($(os),osx)
LDFLAGS += -arch $(arch) -mmacosx-version-min=10.0 -stack_size,0x4000
LDFLAGS += -arch $(arch) -mmacosx-version-min=10.0
endif

### 3.4 Debugging
Expand Down

0 comments on commit ed95ad1

Please sign in to comment.