OSDN Git Service

Rules.mak: Rearrange appending UCLIBC_EXTRA_CFLAGS to CFLAGS
authorKhem Raj <raj.khem@gmail.com>
Sat, 11 Jun 2011 07:15:02 +0000 (00:15 -0700)
committerKhem Raj <raj.khem@gmail.com>
Sat, 11 Jun 2011 07:15:02 +0000 (00:15 -0700)
commit45046d8134da4dee6a5d382cfbd17a1039e55f27
treeaf19fea35ed32a91e8140ceaaed1d27d45892d88
parent4151e14cc8b60f5b3478d6c1f9372e427f7e05c4
Rules.mak: Rearrange appending UCLIBC_EXTRA_CFLAGS to CFLAGS

UCLIBC_EXTRA_CFLAGS is currently added before the OPTIMIZATION flags
and OPTIMIZATION is chosen to be Os by default. But in OE we pass the optimisation
flags through UCLIBC_EXTRA_CFLAGS but they are not effective since -Os is
specified at last. So we need to change the order of these option flags

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Rules.mak