Re: Packaging policy

[email protected] Fri, 01 Nov 2024 15:20:51 -0500
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
On 2024-11-01 12:35, Scott Hannahs via Fink-users wrote:
> What is the fink packaging policy on universal binaries?  If I add
> "-arch x86_64 -arch arm64” to the CFLAGS environmental variable is
> that an acceptable solution?
> 
> I am currently trying to update a package that has a XXX-arm64.info
> and a XXX-x86_64.info
> version, which are identical except for the Architecture field.  I
> don’t see the rational for this and figure I might as well build a
> universal package anyway.
> 
> -Scott

What package is this? Do you need the universal binary? If the two .info 
files are identical except for `Architecture:` field, why do they need 
to be separate? A single file with no `Architecture:` should suffice, 
no?

For CFLAGS, if you add `-arch arm64` indiscriminately, older releases 
before macOS 11 (I think) may probably crash during the compile.

Hanspeter



_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users