Skip to content

Commit

Permalink
allow linux clang builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Apr 24, 2016
1 parent ea387d4 commit dc41a4f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion QGCCommon.pri
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@
# the project file.

linux {
linux-g++ | linux-g++-64 | linux-g++-32 {
linux-g++ | linux-g++-64 | linux-g++-32 | linux-clang {
message("Linux build")
CONFIG += LinuxBuild
DEFINES += __STDC_LIMIT_MACROS
linux-clang {
message("Linux clang")
QMAKE_CXXFLAGS += -Qunused-arguments -fcolor-diagnostics
}
} else : linux-rasp-pi2-g++ {
message("Linux R-Pi2 build")
CONFIG += LinuxBuild
Expand Down

0 comments on commit dc41a4f

Please sign in to comment.