summaryrefslogtreecommitdiff
path: root/package/traceroute/patches/patch-Make_rules
blob: 35f8b4003f07e5e533a59462d5c1e07e18a22fcb (plain)
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
27
28
--- traceroute-2.0.16.orig/Make.rules	2010-09-09 16:20:46.000000000 +0200
+++ traceroute-2.0.16/Make.rules	2010-10-11 20:07:03.000000000 +0200
@@ -46,14 +46,14 @@ $(call set, INSTALL, cp)
 $(call set, INDENT, true)
 
 gcc = $(findstring gcc,$(CC))
-$(call set, CFLAGS, $(if $(gcc), -O2 -Wall, -O))
+$(call set, CFLAGS, )
 $(call set, CPPFLAGS, )
 $(call set, LDFLAGS, -s)
 $(call set, LIBS, )
 
 
 #  install stuff
-prefix = /usr/local
+prefix = /usr
 
 exec_prefix = $(prefix)
 bindir = $(exec_prefix)/bin
@@ -125,7 +125,7 @@ _libs = $(strip $(foreach lib,$(LIBDIRS)
 			$(wildcard $(srcdir)/$(lib)/$(lib).so \
 					$(srcdir)/$(lib)/$(lib).a))))
 
-override LIBS := $(_libs) -lm $(LIBS)
+override LIBS := $(_libs) $(LIBS)
 
 ifneq ($(gcc),)
 CPATH = $(subst $(empty) ,:,$(includes))