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

Bug#960928: gcc-9: Do not pass --with-arch=i586 on hurd-i386.



On 5/18/20 3:28 PM, Samuel Thibault wrote:
> Matthias Klose, le lun. 18 mai 2020 15:25:41 +0200, a ecrit:
>> On 5/18/20 2:59 PM, Samuel Thibault wrote:
>>> It seems hurd-i386 was left with building with --with-arch=i586, while
>>> there is no reason any more to do so. I checked building glibc, hurd,
>>> gnumach, without any issue.
>>
>> is it really correct to omit this configure option, instead of setting it to
>> i686 explicitly?
> 
> i686 is already inherited from dpkg-architecture's output:
> 
> DEB_TARGET_GNU_CPU=i686
> DEB_TARGET_GNU_SYSTEM=gnu
> DEB_TARGET_GNU_TYPE=i686-gnu
> 
> (just like on linux-any and kfreebsd-any).

the TARGET macros are overridden because dpkg should not define the baseline.
The target macros are also bogus in case a package builds for multiple targets.

I'll set that directly.


Reply to: