1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

LP-2 linux: specify architecture when setting QT_SPEC

this is used later in copydata.pro files to copy appropriate files based on 32/64 architecture
This commit is contained in:
Philippe Renon 2015-12-14 22:04:23 +01:00
parent 9d2e1dcc1f
commit f5c10caf3f

View File

@ -147,7 +147,11 @@ include $(ROOT_DIR)/make/tools.mk
# We almost need to consider autoconf/automake instead of this
ifeq ($(UNAME), Linux)
QT_SPEC := linux-g++
ifeq ($(ARCH), x86_64)
QT_SPEC := linux-g++-64
else
QT_SPEC := linux-g++-32
endif
UAVOBJGENERATOR := $(BUILD_DIR)/uavobjgenerator/uavobjgenerator
else ifeq ($(UNAME), Darwin)
QT_SPEC := macx-g++