[mythtv] [patch] linuxppc
Nigel Pearson
nigel at ind.tansu.com.au
Mon Feb 7 22:09:27 UTC 2005
> contains( TARGET_ARCH_POWERPC, yes ) {
> - # Do not use -O3, it causes some Qt moc methods to go missing
> - QMAKE_CXXFLAGS_RELEASE = -O2
> + QMAKE_CXXFLAGS_RELEASE = -O3
> + macx {
> + # Auto-inlining causes some Qt moc methods to go missing
> + QMAKE_CXXFLAGS_RELEASE += -fno-inline-functions
> + }
> }
I am doing a test build now, but that looks good.
Is now the time to include CPU-specific suggestions:
macx {
# Auto-inlining causes some Qt moc methods to go missing
QMAKE_CXXFLAGS_RELEASE += -fno-inline-functions
# Use PowerPC (not IBM RS/6000) instructions,
# and pipes instead of temp. files
QMAKE_CXXFLAGS_RELEASE += -mpowerpc-gfxopt -pipe
# CPU specific compilation:
#QMAKE_CXX_FLAGS_RELEASE = -fast -fno-inline-functions
#
# -fast defaults to G5.
# Add -mcpu=7450 for G4,
# or -mcpu=750 for G3 processors
}
(note that libav* has its own world, so maybe all these
should be in your new configure-derived universe?)
--
Nigel Pearson, nigel at ind.tansu.com.au | "Reality is that which,
Telstra BI&D, Sydney, Australia | when you stop believing
Office: 8255 4222 Fax: 8255 3153 | in it, doesn't go away."
Mobile: 0408 664435 Home: 9792 6998 | Philip K. Dick - 'Valis'
More information about the mythtv-dev
mailing list