summaryrefslogtreecommitdiff
path: root/debian/patches/0005-buildflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0005-buildflags.patch')
-rw-r--r--debian/patches/0005-buildflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/0005-buildflags.patch b/debian/patches/0005-buildflags.patch
new file mode 100644
index 0000000..e06391c
--- /dev/null
+++ b/debian/patches/0005-buildflags.patch
@@ -0,0 +1,13 @@
+Author: Daniel Baumann <mail@daniel-baumann.ch>
+Description: Avoid overwriting buildflags.
+
+diff -Naurp gfxboot.orig/Makefile gfxboot/Makefile
+--- gfxboot.orig/Makefile
++++ gfxboot/Makefile
+@@ -1,5 +1,5 @@
+ CC = gcc
+-CFLAGS = -g -Wall -Wno-pointer-sign -O2 -fomit-frame-pointer
++#CFLAGS = -g -Wall -Wno-pointer-sign -O2 -fomit-frame-pointer
+
+ GIT2LOG := $(shell if [ -x ./git2log ] ; then echo ./git2log --update ; else echo true ; fi)
+ GITDEPS := $(shell [ -d .git ] && echo .git/HEAD .git/refs/heads .git/refs/tags)