Re: [PATCH] kbuild: Enable Large File Support for hostprogs

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

 



2017-06-29 21:17 GMT+09:00 Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>:
> Hello,
>
> On Thu, Jun 29, 2017 at 02:11:36PM +0200, Uwe Kleine-König wrote:
>> diff --git a/Makefile b/Makefile
>> index e40c471abe29..2c72207ce298 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -301,9 +301,15 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
>>         else if [ -x /bin/bash ]; then echo /bin/bash; \
>>         else echo sh; fi ; fi)
>>
>> +HOST_LFS_CFLAGS := $(shell getconf LFS_CFLAGS)
>> +HOST_LFS_LDFLAGS := $(shell getconf LFS_LDFLAGS)
>> +HOST_LFS_LIBS := $(shell getconf LFS_LIBS)
>> +
>>  HOSTCC       = gcc
>>  HOSTCXX      = g++
>> -HOSTCFLAGS   = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
>> +HOSTCFLAGS   = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 $(HOST_LFS_CFLAGS)
>> +HOSTLDFLAGS  = $(HOST_LFS_LDFLAGS)
>> +HOST_LOADLIBES = $(HOST_LFS_LIBS)
>>  HOSTCXXFLAGS = -O2
>
> I forgot to add $(HOST_LFS_CFLAGS) to HOSTCXXFLAGS. I can resend if the
> patch is considered ok otherwise.
>

Ben,
Is this patch OK with you?




-- 
Best Regards
Masahiro Yamada
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux