mirror of
https://git.jff.email/cgit/dmidecode.git
synced 2026-08-08 09:05:10 +00:00
26 lines
739 B
Diff
26 lines
739 B
Diff
Author: Daniel Baumann <daniel.baumann@progress-technologies.net>
|
|
Description: Avoid overwriting build environment rather than to just extend it.
|
|
|
|
Index: trunk/Makefile
|
|
===================================================================
|
|
--- trunk.orig/Makefile
|
|
+++ trunk/Makefile
|
|
@@ -13,7 +13,7 @@
|
|
#
|
|
|
|
CC = gcc
|
|
-CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
|
|
+CFLAGS += -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
|
|
-Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef
|
|
|
|
# Let lseek and mmap support 64-bit wide offsets
|
|
@@ -27,7 +27,7 @@ CFLAGS += -O2
|
|
#CFLAGS += -g
|
|
|
|
# Pass linker flags here
|
|
-LDFLAGS =
|
|
+#LDFLAGS =
|
|
|
|
DESTDIR =
|
|
prefix = /usr/local
|