]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix gmqcc use by ./all
authorRudolf Polzer <divverent@xonotic.org>
Tue, 18 Dec 2012 19:11:16 +0000 (20:11 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Tue, 18 Dec 2012 19:11:16 +0000 (20:11 +0100)
qcsrc/Makefile

index 2266cc8e64be3e5fe8f885006b7a68251f3f9823..75aa33912b21511f013ed3b7539f65655233c2bd 100644 (file)
@@ -3,7 +3,7 @@ PERL ?= perl
 QCCFLAGS_WATERMARK ?= -DWATERMARK='"$(shell git describe)"' -DCVAR_POPCON=1
 QCC ?= fteqcc
 
-VERSION_MESSAGE = $(shell $(QCC) --version --help)
+VERSION_MESSAGE = $(shell cd server && $(QCC) --version --help)
 ifneq (,$(findstring GMQCC,$(VERSION_MESSAGE)))
 # this is gmqcc
 QCCFLAGS ?= -Werror -Wall -Wno-field-redeclared -Wno-double-declaration -Wno-assign-function-types -Wno-unused-variable -std=fteqcc -O3 -fshort-logic -ftranslatable-strings -flno $(QCCFLAGS_EXTRA) $(QCCFLAGS_WATERMARK)