Sign in
gfiber
/
kernel
/
skids
/
b796900e7484f66f7a06d6ddf2e73236561a478a
/
.
/
qtn_optfilter.pl
blob: e97134318b86317c90b7154429ac195a24c7e770 [
file
] [
log
] [
blame
]
#!/usr/bin/perl -w
use
strict
;
use
warnings
;
my
$src
=
$ARGV
[
0
];
if
(
defined
(
$src
))
{
@_
=
`cat $src | grep __sram_text`
;
if
(
$
#_ > 0) {
print
"-O3"
;
}
else
{
print
"-Os -mno-millicode"
;
}
}