Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 318337 | Differences between
and this patch

Collapse All | Expand All

(-)stockfish-191-linux/src/Makefile.orig (-4 / +2 lines)
Lines 219-225 Link Here
219
endif
219
endif
220
220
221
### 3.2 General compiler settings
221
### 3.2 General compiler settings
222
CXXFLAGS = -g -Wall -Wcast-qual -ansi -fno-exceptions -fno-rtti $(EXTRACXXFLAGS)
222
CXXFLAGS += -g -Wall -Wcast-qual -ansi -fno-exceptions -fno-rtti $(EXTRACXXFLAGS)
223
223
224
ifeq ($(comp),gcc)
224
ifeq ($(comp),gcc)
225
	CXXFLAGS += -pedantic -Wno-long-long -Wextra
225
	CXXFLAGS += -pedantic -Wno-long-long -Wextra
Lines 234-240 Link Here
234
endif
234
endif
235
235
236
### 3.3 General linker settings
236
### 3.3 General linker settings
237
LDFLAGS = -lpthread $(EXTRALDFLAGS)
237
LDFLAGS += -lpthread $(EXTRALDFLAGS)
238
238
239
ifeq ($(os),osx)
239
ifeq ($(os),osx)
240
	LDFLAGS += -arch $(arch)
240
	LDFLAGS += -arch $(arch)
Lines 352-358 Link Here
352
	@echo ""
352
	@echo ""
353
353
354
build:
354
build:
355
	$(MAKE) ARCH=$(ARCH) COMP=$(COMP) config-sanity
356
	$(MAKE) ARCH=$(ARCH) COMP=$(COMP) all
355
	$(MAKE) ARCH=$(ARCH) COMP=$(COMP) all
357
356
358
profile-build:
357
profile-build:
Lines 409-415 Link Here
409
install:
408
install:
410
	-mkdir -p -m 755 $(BINDIR)
409
	-mkdir -p -m 755 $(BINDIR)
411
	-cp $(EXE) $(BINDIR)
410
	-cp $(EXE) $(BINDIR)
412
	-strip $(BINDIR)/$(EXE)
413
411
414
clean:
412
clean:
415
	$(RM) $(EXE) *.o .depend *~ core bench.txt *.gcda
413
	$(RM) $(EXE) *.o .depend *~ core bench.txt *.gcda

Return to bug 318337