summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2011-11-24 14:25:47 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2011-11-24 14:25:47 -0800
commit7a0a4d4d7917290168450c2296f1504f06b34b88 (patch)
tree3c0907a3a057b306ab2cce8f30f7d7334e5fee50
parent0a5d856cecad549ac8da3a4bc63298b36e10d14b (diff)
downloadabc-7a0a4d4d7917290168450c2296f1504f06b34b88.tar.gz
abc-7a0a4d4d7917290168450c2296f1504f06b34b88.tar.bz2
abc-7a0a4d4d7917290168450c2296f1504f06b34b88.zip
Added a warning to Makefile about setting compilation flags when compiling on 32-bit Linux.
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e7470c5d..727d95f0 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,9 @@ MODULES := \
all: $(PROG)
default: $(PROG)
+# Please note that to compile on 32-bit Linux the following optflags are required:
+# -DLIN -DSIZEOF_VOID_P=4 -DSIZEOF_LONG=4
+
#OPTFLAGS := -DNDEBUG -O3 -DLIN
#OPTFLAGS := -DNDEBUG -O3 -DLIN64
#OPTFLAGS := -g -O -DLIN -m32