patch-Make_rules 803 B

12345678910111213141516171819202122232425262728
  1. --- traceroute-2.0.19.orig/Make.rules 2012-03-27 15:49:04.000000000 +0200
  2. +++ traceroute-2.0.19/Make.rules 2013-12-29 20:01:35.000000000 +0100
  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. ifneq ($(wildcard /lib64/libc.* /usr/lib64/libc.*),)
  15. lib := lib64
  16. @@ -131,7 +131,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))