From: Marco Costalba Date: Sat, 28 Sep 2013 11:14:59 +0000 (-0700) Subject: Fix build on Mac OS X X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ed95ad1c0eab8a27d1866a3f4532c2793a53ca36;p=stockfish Fix build on Mac OS X 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. --- diff --git a/src/Makefile b/src/Makefile index fd5290be..1f9f27da 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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