Changes between Version 3 and Version 4 of Ticket #56991, comment 78


Ignore:
Timestamp:
Sep 27, 2019, 10:43:12 PM (5 years ago)
Author:
Gcenx
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56991, comment 78

    v3 v4  
    1 Yeah I'm digging into it but from what I found {{{-read_only_relocs suppress}}} isn't a valid command anymore since XCode10, the only solution I found online was to use XCode9 (maybe I can just link it's the version of LD)
    2 
    3 Edit; Ugh I removed the command from within the Portfile and added it into {{{portconfigure.tcl}}} and it now works.....
    4 
    5 {{{
    6         # add SDK flags if cross-compiling (or universal on ppc tiger)
    7         if {${configure.sdkroot} ne ""} {
    8             foreach env_var {CPPFLAGS CFLAGS CXXFLAGS OBJCFLAGS OBJCXXFLAGS} {
    9                 append_to_environment_value configure $env_var -isysroot${configure.sdkroot}
    10             }
    11             append_to_environment_value configure "LDFLAGS" -Wl,-syslibroot,${configure.sdkroot}
    12             append_to_environment_value configure "SDKROOT" ${configure.sdkroot}
    13             append_to_environment_value configure "LDFLAGS" -Wl,-w
    14             append_to_environment_value configure "LDFLAGS" -Wl,-read_only_relocs,suppress
    15         }
    16 }}}
    17 
    18 No idea why it doesn't like the command within the portfile but doing that worked.
     1Yeah I'm digging into it but from what I found {{{-read_only_relocs suppress}}} ~~isn't a valid command anymore since XCode10, the only solution I found online was to use XCode9 (maybe I can just link it's the version of LD)~~
    192
    203
    21 Edit2;
     4''**Edit;**''
    225Made a small change to the Portfile and got it working again, seems it doesn't like {{{lappend merger_configure_env(i386)}}} line so I swapped it out like so
    236{{{