Re: Thoughts about introducing OPTIMIZATION_CFLAG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 8, 2016 at 1:30 PM, Michal Marek <mmarek@xxxxxxx> wrote:
> On 2016-01-08 12:49, Sedat Dilek wrote:
>> On Fri, Jan 8, 2016 at 12:31 PM, Michal Marek <mmarek@xxxxxxx> wrote:
>>> On 2016-01-08 11:03, Sedat Dilek wrote:
>>>> On Mon, Jan 4, 2016 at 11:37 PM, Michal Marek <mmarek@xxxxxxx> wrote:
>>>>> Dne 4.1.2016 v 12:47 Sedat Dilek napsal(a):
>>>> gcc-4.9 "$@"
>>>> - EOF -
>>>>
>>>> According to your statement passing an optlevel here in this script
>>>> will never-ever be recognized - as it is at the begin-of-(make)-line.
>>>
>>> Pass it as the last argument.
>>>
>>
>> How do I do that?
>
> gcc-4.9 "$@" -O3
>

Hmm, with that modification and my attached build-script I don't see
any -O3 passed to my generated make-lines.

[ /usr/bin/mycompiler ]
#!/bin/bash

clang "$@" -O3
- EOF -

What's wrong?

- Sedat -

Attachment: build_llvmlinux.sh
Description: Bourne shell script


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux