From 591edbb11c73a51d5d6657ef4e3b585d556d7c68 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 14 Feb 2018 13:40:57 +0100 Subject: Detect C standard and try using the most recent one (take 2) Fixes the default C version used with gcc < 5 Change-Id: I948dece961caed8e6b181e1c6e6b9dc43c46583e Reviewed-by: Oswald Buddenhagen --- src/3rdparty/xkbcommon.pri | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/3rdparty/xkbcommon.pri') diff --git a/src/3rdparty/xkbcommon.pri b/src/3rdparty/xkbcommon.pri index 1d953d8372..8259a8b8bd 100644 --- a/src/3rdparty/xkbcommon.pri +++ b/src/3rdparty/xkbcommon.pri @@ -1,4 +1,6 @@ -QMAKE_CFLAGS += -std=gnu99 -w +# Requires GNU C extensions +CONFIG -= strict_c + INCLUDEPATH += $$PWD/xkbcommon \ $$PWD/xkbcommon/xkbcommon \ $$PWD/xkbcommon/src \ -- cgit v1.2.3