summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.lib3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.lib b/config.lib
index 1e0d184f5..6423d3e5f 100644
--- a/config.lib
+++ b/config.lib
@@ -1488,6 +1488,9 @@ make_cflags_and_ldflags() {
if [ $cc_version -ge 44 ]; then
LDFLAGS_BUILD="$LDFLAGS_BUILD -static-libgcc -static-libstdc++"
fi
+ if [ $cc_version -ge 47 ]; then
+ CFLAGS="$CFLAGS -mno-ms-bitfields"
+ fi
fi
fi