summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-arch/qpress/files/qpress-20220819-fix-build-system.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/app-arch/qpress/files/qpress-20220819-fix-build-system.patch b/app-arch/qpress/files/qpress-20220819-fix-build-system.patch
index 79676f57664d..3fb5750eac9b 100644
--- a/app-arch/qpress/files/qpress-20220819-fix-build-system.patch
+++ b/app-arch/qpress/files/qpress-20220819-fix-build-system.patch
@@ -11,13 +11,12 @@ diff --git a/makefile b/makefile
index 4890f9d..349fbb2 100755
--- a/makefile
+++ b/makefile
-@@ -1,9 +1,21 @@
+@@ -1,9 +1,20 @@
-PREFIX = /usr/local
+DESTDIR ?=
+PREFIX ?= /usr/local
+CXX ?= g++
-+CXXFLAGS ?= -O3
-+CXXFLAGS += -Wall -Wextra -Werror
++CXXFLAGS ?= -O3 -Wall -Wextra -Werror
+LDFLAGS ?=
-g++: qpress.cpp aio.cpp quicklz.c utilities.cpp