1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

Fix for OSX Lions compiler

OSX 10.7 and above will need the -fpermissive flag to compile
This commit is contained in:
Philippe Vanhaesendonck 2013-03-26 22:57:08 +01:00
parent 8d6ef5cfe9
commit 8625eba054
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,9 @@ DEFINES += UPLOADER_LIBRARY
QT += svg
include(uploader_dependencies.pri)
INCLUDEPATH += ../../libs/qextserialport/src
macx {
QMAKE_CXXFLAGS += -fpermissive
}
HEADERS += uploadergadget.h \
uploadergadgetconfiguration.h \

View File

@ -3,6 +3,9 @@
# -------------------------------------------------
QT += xml
QT -= gui
macx {
QMAKE_CXXFLAGS += -fpermissive
}
TARGET = uavobjgenerator
CONFIG += console
CONFIG -= app_bundle