summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-10-31 14:41:02 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-10-31 14:41:02 +0000
commitf173034b410e82cfd69d702ed862b4964beb4cd6 (patch)
tree88fcb715a31f1e868f896f20b88709ff8eb786cf
parent0bf883a82fdf4a8665c1a7832121418d3be8d201 (diff)
downloadpython-dmidecode-f173034b410e82cfd69d702ed862b4964beb4cd6.tar.gz
python-dmidecode-f173034b410e82cfd69d702ed862b4964beb4cd6.tar.xz
python-dmidecode-f173034b410e82cfd69d702ed862b4964beb4cd6.zip
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@106 abc39116-655e-4be6-ad55-d661dc543056
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d5c4a79..1d2ecb8 100644
--- a/Makefile
+++ b/Makefile
@@ -10,12 +10,13 @@ PY := $(shell python -V 2>&1 |sed -e 's/.\(ython\) \(2\.[0-9]\)\..*/p\1\2/')
CC := gcc
RM := rm -f
-CFLAGS = -D_XOPEN_SOURCE=600 -O2
-#CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef #-Wcast-qual
+CFLAGS = -g -D_XOPEN_SOURCE=600
+CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align
+CFLAGS += -Wwrite-strings -Wmissing-prototypes -Winline -Wundef #-Wcast-qual
CFLAGS += -pthread -fno-strict-aliasing -DNDEBUG -fPIC
CFLAGS += -I/usr/include/$(PY)
-CFLAGS += -g -DNDEBUG
-#CFLAGS += -O2 -DNDEBUG
+CFLAGS += -O3
+#CFLAGS += -DNDEBUG
#CFLAGS += -DBIGENDIAN
#CFLAGS += -DALIGNMENT_WORKAROUND