- Add Python preprocessor flags to src/ and src/backend Makefiles

- Add -Wno-long-long to compiler options in order to workaround Python types' evilness


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@322 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-02-13 16:35:00 +00:00
parent 146b3c99cc
commit 6cf67202c7
3 changed files with 3 additions and 2 deletions

View File

@ -63,6 +63,7 @@ AC_PROG_CXX
AC_CHECK_CXXFLAG([Wall]) AC_CHECK_CXXFLAG([Wall])
AC_CHECK_CXXFLAG([pedantic]) AC_CHECK_CXXFLAG([pedantic])
AC_CHECK_CXXFLAG([Wextra]) AC_CHECK_CXXFLAG([Wextra])
AC_CHECK_CXXFLAG([Wno-long-long])
AC_CHECK_LDFLAG([--as-needed]) AC_CHECK_LDFLAG([--as-needed])
AC_PROG_INSTALL AC_PROG_INSTALL

View File

@ -38,7 +38,8 @@ sgpemv2_CPPFLAGS = -I@top_srcdir@ \
-DMODDIR="\"$(moddir)\"" \ -DMODDIR="\"$(moddir)\"" \
-DLOCALEDIR="\"$(localedir)\"" \ -DLOCALEDIR="\"$(localedir)\"" \
$(CAIRO_CFLAGS) \ $(CAIRO_CFLAGS) \
$(GTKMM_CFLAGS) $(GTKMM_CFLAGS) \
$(PYTHON_CPPFLAGS)
sgpemv2_LDFLAGS = -L@builddir@/backend \ sgpemv2_LDFLAGS = -L@builddir@/backend \
-L@builddir@/pyloader \ -L@builddir@/pyloader \
$(LT_LDFLAGS) $(LT_LDFLAGS)

View File

@ -61,7 +61,6 @@ libbackend_la_SOURCES = \
scheduler.cc \ scheduler.cc \
slice.cc slice.cc
noinst_HEADERS = \ noinst_HEADERS = \
history.hh \ history.hh \
observed_subject.hh \ observed_subject.hh \