Re: [PATCH 2/2] btrfs: build: omit unnecessary -MD flag

2017-09-14 Thread David Sterba
On Thu, Sep 14, 2017 at 07:10:56PM +0900, Naohiro Aota wrote: > According to gcc(1), "-MD is equivalent to -M -MF file, except that -E is not > implied." Since the rule in the Makefile is just generating dependency file > and not building object file, it is no use to have "-MD" here. Also, it's >

[PATCH 2/2] btrfs: build: omit unnecessary -MD flag

2017-09-14 Thread Naohiro Aota
According to gcc(1), "-MD is equivalent to -M -MF file, except that -E is not implied." Since the rule in the Makefile is just generating dependency file and not building object file, it is no use to have "-MD" here. Also, it's overridden and conflicting with the following "-MM" flag. I guess we