summaryrefslogtreecommitdiff
path: root/net-mgmt/oproute/files/patch-Makefile
blob: ecdbbe432bdab04ee07992b015450590b3191cfe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- Makefile.orig	Wed Feb 28 18:28:31 2001
+++ Makefile	Fri Jan 25 22:31:09 2002
@@ -1,12 +1,11 @@
-
-CPPFLAGS = -O3
+CXXFLAGS ?= -O
 VERSION = 0.7
 BIN = /usr/local/bin
 
 all: oproute
 
 oproute: oproute.cpp oproute.h main.cpp
-	g++ $(CPPFLAGS) -o oproute oproute.cpp main.cpp jivastring.cpp
+	${CXX} $(CXXFLAGS) -o oproute oproute.cpp main.cpp jivastring.cpp
 
 install: all
 	install -d $(BIN)