mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
[OP-835] Qt 5.1.0 - fixed ((packed)) pragma issue introduced by MinGW upgrade
This commit is contained in:
parent
d989894ad4
commit
09b22a18f4
@ -133,3 +133,9 @@ linux-g++-* {
|
||||
QMAKE_LFLAGS += -Wl,--allow-shlib-undefined -Wl,--no-undefined
|
||||
}
|
||||
|
||||
win32 {
|
||||
# Fix ((packed)) pragma handling issue introduced when upgrading MinGW from 4.4 to 4.8
|
||||
# See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
|
||||
# The ((packet)) pragma is used in uav metadata struct and other places
|
||||
QMAKE_CXXFLAGS += -mno-ms-bitfields
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user