aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/p7zip/p7zip-cc-cxx.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/p7zip/p7zip-cc-cxx.patch b/main/p7zip/p7zip-cc-cxx.patch
index d06708b4bb..29742cf6f4 100644
--- a/main/p7zip/p7zip-cc-cxx.patch
+++ b/main/p7zip/p7zip-cc-cxx.patch
@@ -1,5 +1,5 @@
---- a/makefile.machine 2009-05-29 07:24:22.000000000 +0000
-+++ b/makefile.machine 2009-05-29 07:25:22.000000000 +0000
+--- a/makefile.machine.orig
++++ b/makefile.machine
@@ -2,6 +2,8 @@
# makefile for Linux (x86, PPC, alpha ...)
#
@@ -8,13 +8,13 @@
+CC ?= gcc
OPTFLAGS=-O
- ALLFLAGS=${OPTFLAGS} -s \
-@@ -9,8 +11,8 @@
- -DNDEBUG -D_REENTRANT -DENV_UNIX \
+ ALLFLAGS=${OPTFLAGS} -pipe -s \
+@@ -10,8 +12,8 @@
+ -D_7ZIP_LARGE_PAGES \
$(LOCAL_FLAGS)
--CXX=g++ $(ALLFLAGS)
--CC=gcc $(ALLFLAGS)
+-CXX=g++
+-CC=gcc
+CXX += $(ALLFLAGS)
+CC += $(ALLFLAGS)
CC_SHARED=-fPIC