64035ac463
Prepare for better device categorization by moving everything to testing subdir first. [skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR depends on this MR Related: postmarketos#16
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
Author: Antoine Fontaine <antoine.fontaine@epfl.ch>
|
|
Date: Wed Nov 27 01:21:35 2019 +0100
|
|
|
|
applied patch to use gnu89 standard explicitly.
|
|
I needed to do so manually because the makefile is changed by downstream.
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index 917f5c50..68453b1a 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -241,7 +241,7 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
|
|
|
|
HOSTCC = gcc
|
|
HOSTCXX = g++
|
|
-HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
|
|
+HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
|
|
HOSTCXXFLAGS = -O2
|
|
|
|
# Decide whether to build built-in, modular, or both.
|
|
@@ -374,7 +374,8 @@ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
|
-Werror-implicit-function-declaration \
|
|
-Wno-format-security \
|
|
-fno-delete-null-pointer-checks \
|
|
- -Werror=format -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
|
|
+ -Werror=format -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast \
|
|
+ -std=gnu89
|
|
|
|
KBUILD_AFLAGS_KERNEL :=
|
|
KBUILD_CFLAGS_KERNEL :=
|