summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkhali <khali>2003-06-19 17:20:25 +0000
committerkhali <khali>2003-06-19 17:20:25 +0000
commita4ae89aacb3b58c413aca38511d751b8d03d8471 (patch)
tree9ff50f9f92f91f70d425c88eb2f6c407a814d1d4 /Makefile
parent97016c2ee8146266ad70d362cba1b16a9baed7f7 (diff)
downloaddmidecode-a4ae89aacb3b58c413aca38511d751b8d03d8471.tar.gz
Can now use mmap() instead of mallow()/read() to access the DMI table.
This is enabled by -DUSE_MMAP and could solve access problems on IA-64 systems as well as on some laptops (unconfirmed).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4e256e1..bca3cbf 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,7 @@ CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
#CFLAGS += -DALIGNMENT_WORKAROUND
#CFLAGS += -DTABLE_LITTLEENDIAN
#CFLAGS += -D__IA64__
+#CFLAGS += -DUSE_MMAP
PREFIX = /usr/local
all : dmidecode biosdecode ownership