Re: [gtk-osx-users] New build system (continued).




Le 15 avr. 2019 à 16:06, John Ralls <jralls ceridwen us> a écrit :

On Apr 15, 2019, at 2:19 AM, Pascal <p p14 orange fr> wrote:
Yes John, I suspected something like that but I haven't asked for -arch i386.

How can I prevent i386?

You need to find where it's getting added to your CFLAGS and remove it. The first place to look is 
jhbuildrc-custom, but it might be in some other shell-initialization like .bashrc or .bash_profile.

John, I've found some suspicious instructions in jhbuildrc line 321:
    if (_osx_version < 14):
        module_extra_env["expat"] = {'CFLAGS':os.environ['CFLAGS'] + ' -arch i386 -arch x86_64'}
        module_extra_env.update(
            {"perl-xml-simple":{"ARCHFLAGS":"-arch i386 -arch x86_64"},
             "perl-xml-parser":{"ARCHFLAGS":"-arch i386 -arch x86_64"}})

I run macOS 10.13.6.
Without theses lines all is fine now.
What are them for?

Thanks, Pascal.
http://blady.pagesperso-orange.fr




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