summaryrefslogtreecommitdiff
path: root/app-misc/tmux/files/tmux-2.3-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/tmux/files/tmux-2.3-flags.patch')
-rw-r--r--app-misc/tmux/files/tmux-2.3-flags.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-misc/tmux/files/tmux-2.3-flags.patch b/app-misc/tmux/files/tmux-2.3-flags.patch
new file mode 100644
index 000000000000..6fa66b508333
--- /dev/null
+++ b/app-misc/tmux/files/tmux-2.3-flags.patch
@@ -0,0 +1,15 @@
+ Makefile.am | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+--- tmux-2.3/Makefile.am
++++ tmux-2.3/Makefile.am
+@@ -23,9 +23,8 @@
+
+ # Set flags for gcc.
+ if IS_GCC
+-CFLAGS += -std=gnu99 -O2
++CFLAGS += -std=gnu99
+ if IS_DEBUG
+-CFLAGS += -g
+ CFLAGS += -Wno-long-long -Wall -W -Wformat=2
+ CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
+ CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare