1
0

patch-Makefile 758 B

1234567891011121314151617181920212223242526
  1. --- dmidecode-2.11.orig/Makefile 2010-10-11 16:08:16.000000000 +0200
  2. +++ dmidecode-2.11/Makefile 2012-03-28 11:31:33.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. @@ -23,10 +23,10 @@ CFLAGS += -O2
  14. #CFLAGS += -g
  15. # Pass linker flags here
  16. -LDFLAGS =
  17. +LDFLAGS ?=
  18. DESTDIR =
  19. -prefix = /usr/local
  20. +prefix = /usr
  21. sbindir = $(prefix)/sbin
  22. mandir = $(prefix)/share/man
  23. man8dir = $(mandir)/man8