<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello, <div class=""><br class=""></div><div class="">While trying to solve an issue where one of my ports does not respect the compiler choice (ticket #<font face="Helvetica Neue" class=""><font color="rgba(0, 0, 0, 0.85098)" class="">54372, thanks Ryan for pointing that out), I realised that qmake seems </font><font color="#000085" class="">to</font><font color="rgba(0, 0, 0, 0.85098)" class=""> not be respecting the choice of compiler in any case. </font></font></div><div class=""><font face="Helvetica Neue" class=""><font color="rgba(0, 0, 0, 0.85098)" class="">On Mac, qmake uses by default the '</font></font><font color="#000085" face="Helvetica Neue" class="">macx-g++’ configuration, which sets everything to use clang, regardless of the choice of compiler, including flags such as Xarch which are not compatible with gcc. I could reproduce that problem with both mine and other ports.</font></div><div class=""><font color="#000085" face="Helvetica Neue" class="">I noticed that qmake also has config files for instance for gcc 4.2 (macx-g++42) or llvm (macx-llvm), but I did not yet confirm if those could be used. </font></div><div class=""><font color="#000085" face="Helvetica Neue" class=""><br class=""></font></div><div class=""><span style="color: rgb(0, 0, 133); font-family: 'Helvetica Neue';" class="">I assume that the PortGroup would have to be modified to properly choose the config file depending on the chosen compiler (which I could try to implement), but I wanted to check first if someone already solved that issue, or if I am missing something obvious.</span></div><div class=""><span style="color: rgb(0, 0, 133); font-family: 'Helvetica Neue';" class=""><br class=""></span></div><div class=""><span style="color: rgb(0, 0, 133); font-family: 'Helvetica Neue';" class="">Cheers,</span></div><div class=""><span style="color: rgb(0, 0, 133); font-family: 'Helvetica Neue';" class=""><br class=""></span></div><div class=""><font color="#000085" face="Helvetica Neue" class="">Nicolas</font></div><div class=""><font face="Helvetica Neue" class=""><font color="rgba(0, 0, 0, 0.85098)" class=""><br class=""></font></font></div></body></html>