summaryrefslogtreecommitdiff
path: root/libre/memtest86+/gcc-5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/memtest86+/gcc-5.patch')
-rw-r--r--libre/memtest86+/gcc-5.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/libre/memtest86+/gcc-5.patch b/libre/memtest86+/gcc-5.patch
new file mode 100644
index 000000000..a88c243d5
--- /dev/null
+++ b/libre/memtest86+/gcc-5.patch
@@ -0,0 +1,16 @@
+Description: Build with -fgnu89-inline for GCC 5.
+Author: Matthias Klose <doko@ubuntu.com>
+Bug-Debian: https://bugs.debian.org/778001
+Origin: http://launchpadlibrarian.net/199536689/memtest86%2B_4.20-1.1ubuntu8_4.20-1.1ubuntu9.diff.gz
+
+--- memtest86+-5.01.orig/Makefile
++++ memtest86+-5.01/Makefile
+@@ -13,7 +13,7 @@ AS=as -32
+ CC=gcc
+
+ CFLAGS= -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin \
+- -ffreestanding -fPIC $(SMP_FL) -fno-stack-protector
++ -ffreestanding -fPIC $(SMP_FL) -fno-stack-protector -fgnu89-inline
+
+ # This reverts a change introduced with recent binutils (post
+ # http://sourceware.org/bugzilla/show_bug.cgi?id=10569). Needed to