Re: wxwidgets300-* hardcodes flag-sort into compiler identification

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
> On Jun 27, 2015, at 10:02, Alexander Hansen <[email protected]> wrote:
> 
> 
>> On Jun 27, 2015, at 05:17, Hanspeter Niederstrasser <[email protected]> wrote:
>> 
>> From /sw/lib/wxwidgets300-gtk2/wx/config/gtk2-unicode-3.0:
>> 
>> [ -z "$output_option_cc"            ] || echo "flag-sort -r gcc"
>> [ -z "$output_option_cxx"           ] || echo "flag-sort -r g++"
>> [ -z "$output_option_ld"            ] || echo "flag-sort -r g++ -o"
>> 
>> $ wx-config --cc
>> flag-sort -r gcc
>> 
>> This then shows up in ./configure outputs with results like:
>> configure:3891: checking Checking wxWidgets for min version:
>> configure:3895: result: -r gcc
>> 
>> which messes up subsequent configure tests.
>> 
>> wxwidgets300-osxcocoa has a similar issue.
>> 
>> Hanspeter
> 
> It’s even worse on wxwidgets300-osxcocoa:
> 
> Fionna:~ hansen$ grep flag-sort /sw/bin/wx-config
> [ -z "$output_option_cc"            ] || echo "flag-sort -r gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.10"
> [ -z "$output_option_cxx"           ] || echo "flag-sort -r g++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.10"
> [ -z "$output_option_ld"            ] || echo "flag-sort -r g++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.10 -o"
> 
> That could present problems on a 10.9-10.11 upgrade since the former will presumably encode the 10.9 SDK and the latter won’t have that.  Is there any reason we’d really want the -isysroot… business?
> 
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> 

I’ve committed an update which patches out both the “flag-sort -r” and “-isysroot…” stuff.



-- 
Alexander Hansen, Ph.D.
Fink User Liaison


------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.