Skip to content

Commit

Permalink
Switch to just -std=c++11 for gcc.
Browse files Browse the repository at this point in the history
- Debian8 (jessie) has 4.9
- Ubuntu 14.04 (trusty) has 4.8
  • Loading branch information
t-paul authored and kintel committed Nov 4, 2018
1 parent ec8dd59 commit 67f7518
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions c++11.pri
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ macx {
}

c++11 {
# -std=c++11 is only available in gcc>=4.7
*g++*: QMAKE_CXXFLAGS += -std=c++0x
else: QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -std=c++11
message("Using C++11")

*clang*: {
Expand Down

0 comments on commit 67f7518

Please sign in to comment.