patch-Makefile 701 B

12345678910111213141516171819202122
  1. --- dmidecode-2.11.orig/Makefile 2010-10-11 16:08:16.000000000 +0200
  2. +++ dmidecode-2.11/Makefile 2011-10-17 19:22:27.000000000 +0200
  3. @@ -12,8 +12,8 @@
  4. # (at your option) any later version.
  5. #
  6. -CC = gcc
  7. -CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
  8. +CC ?= gcc
  9. +CFLAGS ?= -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
  10. -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef
  11. #CFLAGS += -DBIGENDIAN
  12. #CFLAGS += -DALIGNMENT_WORKAROUND
  13. @@ -26,7 +26,7 @@ CFLAGS += -O2
  14. LDFLAGS =
  15. DESTDIR =
  16. -prefix = /usr/local
  17. +prefix = /usr
  18. sbindir = $(prefix)/sbin
  19. mandir = $(prefix)/share/man
  20. man8dir = $(mandir)/man8