1
0

patch-Make_rules 785 B

12345678910111213141516171819202122232425262728
  1. --- traceroute-2.0.16.orig/Make.rules 2010-09-09 16:20:46.000000000 +0200
  2. +++ traceroute-2.0.16/Make.rules 2010-10-11 20:07:03.000000000 +0200
  3. @@ -46,14 +46,14 @@ $(call set, INSTALL, cp)
  4. $(call set, INDENT, true)
  5. gcc = $(findstring gcc,$(CC))
  6. -$(call set, CFLAGS, $(if $(gcc), -O2 -Wall, -O))
  7. +$(call set, CFLAGS, )
  8. $(call set, CPPFLAGS, )
  9. $(call set, LDFLAGS, -s)
  10. $(call set, LIBS, )
  11. # install stuff
  12. -prefix = /usr/local
  13. +prefix = /usr
  14. exec_prefix = $(prefix)
  15. bindir = $(exec_prefix)/bin
  16. @@ -125,7 +125,7 @@ _libs = $(strip $(foreach lib,$(LIBDIRS)
  17. $(wildcard $(srcdir)/$(lib)/$(lib).so \
  18. $(srcdir)/$(lib)/$(lib).a))))
  19. -override LIBS := $(_libs) -lm $(LIBS)
  20. +override LIBS := $(_libs) $(LIBS)
  21. ifneq ($(gcc),)
  22. CPATH = $(subst $(empty) ,:,$(includes))