File: 0005-Import-variables-from-Debian-package-builder.patch

package info (click to toggle)
unrar-nonfree 1%3A7.1.10-2
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 1,956 kB
  • sloc: cpp: 26,396; makefile: 712; sh: 11
file content (26 lines) | stat: -rw-r--r-- 710 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: YOKOTA Hiroshi <yokota.hgml@gmail.com>
Date: Fri, 9 Oct 2020 19:32:19 +0900
Subject: Import variables from Debian package builder

Forwarded: not-needed
---
 makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/makefile b/makefile
index b00e560..38cafb5 100644
--- a/makefile
+++ b/makefile
@@ -6,9 +6,9 @@
 # Thus we removed it. Clang ARM users can add -march=armv8-a+crypto to enable
 # ARM NEON crypto.
 CXX = c++
-CXXFLAGS = -std=c++11
-LIBFLAGS = -fPIC
-DEFINES = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
+CXXFLAGS += -std=c++11
+LIBFLAGS += -fPIC
+DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
 STRIP = true
 AR = ar
 LDFLAGS += -pthread