[MPlayer-dev-eng] [PATCH,RFC] Add CFLAGS to common.mak $(AS)
Jan Knutar
jknutar at nic.fi
Sun Dec 20 19:36:02 CET 2009
This patch / request for comments/clue, which adds $CFLAGS to $(AS)
The background is that as does not assemble code for a certain cpu
unless -mcpu=cpu is set.
When passing the required parameters to configure with --extra-cflags=,
compilation of all the .c files and inline asm succeeds, but compilation
of .S files fail, as the required flags aren't passed to as.
With this patch applied, I can compile MPlayer for Nokia N900 using
./configure --extra-cflags="-mcpu=cortex-a8 -mfloat-abi=softfp -
mfpu=neon"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: as-cflags.patch
Type: text/x-patch
Size: 387 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091220/0a83cac6/attachment.bin>
More information about the MPlayer-dev-eng
mailing list