[mythtv] debug builds for non macx ppc and -maltivec

Axel Thimm Axel.Thimm at ATrpms.net
Sat Nov 25 13:01:45 UTC 2006


For TARGET_ALTIVEC libavcodec.pro and libavutil.pro contain

  macx {
    QMAKE_CFLAGS_RELEASE += -faltivec
    QMAKE_CFLAGS_DEBUG   += -faltivec
  }
  !macx {
    QMAKE_CFLAGS_RELEASE += -maltivec -mabi=altivec
  }

Is there a QMAKE_CFLAGS_DEBUG += -maltivec -mabi=altivec missing in
the !macx section? Currently the builds fail with

gcc -c -pipe -w -g -O -D_REENTRANT -DPIC -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DHAVE_XVMC -DHAVE_XVMC_VLD -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG -I/usr/lib/qt-3.3/mkspecs/default -I. -I.. -I../.. -I../libavutil -I/usr/lib/qt-3.3/include -o utils.o utils.c
In file included from dsputil.h:551,
                 from utils.c:27:
/usr/lib/gcc/ppc64-redhat-linux/4.1.1/include/altivec.h:37:2: error: #error Use the "-maltivec" flag to enable PowerPC AltiVec support

Should I simply add the missing line, or is that unwise?
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20061125/bec437aa/attachment.pgp 


More information about the mythtv-dev mailing list