File: 004_extern_inline.patch

package info (click to toggle)
brickos 0.9.0.dfsg-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,068 kB
  • sloc: ansic: 9,139; cpp: 860; asm: 693; makefile: 656; sh: 134; perl: 61
file content (26 lines) | stat: -rw-r--r-- 729 bytes parent folder | download
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
From: Michael Tautschnig <mt@debian.org>
Date: Sat, 14 Feb 2015 12:01:50 +0000
Subject: Enforce extern inline behaviour

Add -std=gnu89 to GCC's command line to enforce extern inline behaviour with
GCC 5.

Forwarded: no
Bug-Debian: https://bugs.debian.org/777807
---
 Makefile.common | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.common b/Makefile.common
index 6f988c8..b83e125 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -75,7 +75,7 @@ ifdef BUILDING_HOST_UTILS
 #   defines for build of native compiled utilities
 # ----------------------------------------------------------------------------
 
-CFLAGS+=-O2 -Wall
+CFLAGS += -std=gnu89 -O2 -Wall
 
 else  # ifndef BUILDING_HOST_UTILS