summarylogtreecommitdiffstats
path: root/futurerestore-0001-Fix-incorrect-language-standard.patch
blob: d8d7dd1127a10e24edbd2812fe79dfb0d5d9c4f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From b014224a07540ce0d75b745fed486c33c8d4611f Mon Sep 17 00:00:00 2001
From: 0x9fff00 <0x9fff00+git@protonmail.ch>
Date: Fri, 8 Nov 2019 23:30:28 +0100
Subject: [PATCH 1/2] Fix incorrect language standard

---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 38965fb..f0b2683 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,8 +28,8 @@ esac
 
 # Checks the flags.
 CFLAGS+=" -DIDEVICERESTORE_NOMAIN=1 -DTSSCHECKER_NOMAIN=1"
-CXXFLAGS+=" -std=c++11"
-CFLAGS+=" -std=c11"
+CXXFLAGS+=" -std=gnu++11"
+CFLAGS+=" -std=gnu11"
 
 AC_DEFUN([AX_UNPRECIOUS], [
     m4_define([_AC_PRECIOUS_VARS], m4_bpatsubst(_AC_PRECIOUS_VARS, [$1], []))
-- 
2.27.0