[llvm-commits] [llvm] r83284 - /llvm/trunk/Makefile.rules

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Oct 5 07:42:04 PDT 2009

On 05/10/2009, at 12.31, Duncan Sands wrote:

> Hi Jakob
>> -	$(Echo) "Compiling $*.cpp for $(BuildMode) build " $(PIC_FLAG)
>> +	$(Echo) "Compiling $*.cpp for $(BuildMode) build" $(PIC_FLAG)
> if PIC_FLAG is not empty then doesn't this result in a missing space
> between "build" and the contents of PIC_FLAG?

No, I tested that.

The echo command will insert spaces between arguments:

$ echo hello world
hello world

The shell will conveniently ignore empty arguments:

$ echo hello $UNDEF | hexdump -C
00000000  68 65 6c 6c 6f 0a                                 |hello.|

So there are no trailing spaces.

More information about the llvm-commits mailing list