From: Charles Manning Date: Tue, 19 Oct 2010 23:39:57 +0000 (+1300) Subject: yaffs: Enable 64-bit building of python library X-Git-Tag: linux-mainline-rc-01~9 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=1639bc2913eb603253ea6bfadfaa346b2b5ba82c;ds=sidebyside yaffs: Enable 64-bit building of python library Needs the -fPIC flag. Signed-off-by: Charles Manning --- diff --git a/direct/python/Makefile b/direct/python/Makefile index e5aa96d..a6cfc4e 100644 --- a/direct/python/Makefile +++ b/direct/python/Makefile @@ -22,7 +22,7 @@ CFLAGS = -DCONFIG_YAFFS_DIRECT -DCONFIG_YAFFS_SHORT_NAMES_IN_RAM -DCONFIG_Y CFLAGS += -DCONFIG_YAFFS_PROVIDE_DEFS -DCONFIG_YAFFSFS_PROVIDE_VALUES -DNO_Y_INLINE CFLAGS += -Wall -g $(EXTRA_COMPILE_FLAGS) -Wstrict-aliasing #CFLAGS += -fno-strict-aliasing -CFLAGS += -O0 +CFLAGS += -O0 -fPIC #CFLAGS += -DVALGRIND_TEST #CFLAGS+= -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations