[EMAIL PROTECTED] schrieb: > > ------- Additional Comments From [EMAIL PROTECTED] 2006-10-07 21:56 ------- > I suspect the test in debian/rules is wrong. >
Hello Herman, yes, the test in the rules is wrong. And a section for AMD64 is missing. Personally, I use the following modifications; we could add another section for PPC in the same way.... Hope this helps, Hermann Vosseler
Index: rules =================================================================== --- rules (.../aus/debian/rules) (Revision 247) +++ rules (.../ref/debian/rules) (Revision 247) @@ -5,17 +5,35 @@ package=hvirtual export DH_COMPAT=4 -CONFFLAGS= +# Since Cinelerra is far from stable, I prefer leaving the debug info +DEB_BUILD_OPTIONS+=nostrip + +CONFFLAGS=--with-buildinfo=svn/recompile + + #since we are building from .svn +export DH_ALWAYS_EXCLUDE=.svn -ifneq ($(DEB_HOST_ARCH),powerpc) +ifeq ($(DEB_HOST_ARCH),i686) CFLAGS=-ffast-math -O3 -mmmx -march=pentium4 -msse -msse2 -minline-all-stringops -fprefetch-loop-arrays -funroll-loops # CFLAGS=-ffast-math -g -mmmx -march=pentium-mmx CXXFLAGS=$(CFLAGS) -fno-check-new CONFFLAGS+=--enable-mmx --enable-x86 --without-pic endif +ifeq ($(DEB_HOST_ARCH),amd64) + CFLAGS=-ffast-math -O3 -msse3 -march=athlon64 -funroll-loops -minline-all-stringops -fprefetch-loop-arrays -fPIC + CXXFLAGS=$(CFLAGS) -fno-check-new + CONFFLAGS+=--enable-sse3 --with-pic +endif +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +# CFLAGS += -g + CFLAGS += -ggdb3 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s + echo "binary not stripped!" +endif ifneq (, $(findstring smp2,$(DEB_BUILD_OPTIONS))) MAKEFLAGS=-j2 endif
