From ed95ad1c0eab8a27d1866a3f4532c2793a53ca36 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 28 Sep 2013 04:14:59 -0700 Subject: [PATCH] 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. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2