21 lines
600 B
Text
21 lines
600 B
Text
$NetBSD: patch-aa,v 1.2 2012/12/24 21:11:17 joerg Exp $
|
|
|
|
--- src/liblprof/Makefile.orig 2005-08-20 01:11:53.000000000 +0000
|
|
+++ src/liblprof/Makefile
|
|
@@ -1,6 +1,6 @@
|
|
SHELL = /bin/sh
|
|
|
|
-CFLAGS = -g -O4 -fomit-frame-pointer -Wall
|
|
+CFLAGS += -fomit-frame-pointer -Wall
|
|
|
|
ifndef BASEDIR
|
|
BASEDIR = $(DESTDIR)/usr/local
|
|
@@ -50,7 +50,7 @@ clean:
|
|
|
|
install: liblprof.a
|
|
mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(INCDIR)
|
|
- cp -a liblprof.a $(DESTDIR)$(LIBDIR)
|
|
+ install -c liblprof.a $(DESTDIR)$(LIBDIR)
|
|
cp lcmsprf.h $(DESTDIR)$(INCDIR)
|
|
chmod 644 $(DESTDIR)$(INCDIR)/lcmsprf.h
|
|
|