Don't set compiler, nor compiler flags. Don't overwrite linker flags.

This commit is contained in:
adam 2013-07-02 10:30:23 +00:00
parent 626324c5da
commit 044606f28b
2 changed files with 23 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.47 2013/07/02 06:40:56 wiz Exp $
$NetBSD: distinfo,v 1.48 2013/07/02 10:30:23 adam Exp $
SHA1 (unrarsrc-5.0.7.tar.gz) = 7d1cd96d29695e90df4aaef426e7068b241e2528
RMD160 (unrarsrc-5.0.7.tar.gz) = fd3a3ba33e1250e0b9680138a22241a26ee5722e
Size (unrarsrc-5.0.7.tar.gz) = 208034 bytes
SHA1 (patch-makefile) = f63828cfc5bfc470e7e61396d2775e1f1e0ef9e9

View file

@ -0,0 +1,21 @@
$NetBSD: patch-makefile,v 1.1 2013/07/02 10:30:23 adam Exp $
Don't set compiler, nor compiler flags.
Don't overwrite linker flags.
--- makefile.orig 2013-07-02 10:24:50.000000000 +0000
+++ makefile
@@ -2,12 +2,10 @@
# Makefile for UNIX - unrar
# Linux using GCC
-CXX=g++
-CXXFLAGS=-O2
LIBFLAGS=-fPIC
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
STRIP=strip
-LDFLAGS=-pthread
+LDFLAGS+=-pthread
DESTDIR=/usr
# Linux using LCC