aboutsummaryrefslogtreecommitdiffstats
path: root/testing/drawterm/respect-cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/drawterm/respect-cflags.patch')
-rw-r--r--testing/drawterm/respect-cflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/drawterm/respect-cflags.patch b/testing/drawterm/respect-cflags.patch
new file mode 100644
index 0000000000..dabf21332d
--- /dev/null
+++ b/testing/drawterm/respect-cflags.patch
@@ -0,0 +1,13 @@
+diff -upr drawterm-20161016.orig/Make.unix drawterm-20161016/Make.unix
+--- drawterm-20161016.orig/Make.unix 2016-10-16 23:17:32.141093131 +0200
++++ drawterm-20161016/Make.unix 2016-10-16 23:17:55.724316992 +0200
+@@ -6,7 +6,8 @@ AS=as
+ RANLIB=ranlib
+ X11=/usr/X11R6
+ CC=gcc
+-CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD) -O2
++CFLAGS?=-O2
++CFLAGS+=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD)
+ O=o
+ OS=posix
+ GUI=x11