[MacPorts] #42158: libbiosig: build fails with universal variant

MacPorts noreply at macports.org
Fri Jan 17 01:17:43 PST 2014


#42158: libbiosig: build fails with universal variant
---------------------------+------------------------
  Reporter:  ryandesign@…  |      Owner:  christsc@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:
      Port:  libbiosig     |
---------------------------+------------------------

Comment (by christsc@…):

 That's odd. CMake compiles "without" arch flags although
 `CMAKE_OSX_ARCHITECTURES` is set to "x86_64;i386":
 {{{
 /usr/bin/clang -DMACPORTS -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
 -mmacosx-version-min=10.9 -o
 CMakeFiles/cmTryCompileExec3523348986.dir/testCCompiler.c.o -c
 }}}
 But then it links ''with'' arch flags:
 {{{
 /usr/bin/clang -DMACPORTS -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
 -mmacosx-version-min=10.9 -Wl,-search_paths_first
 -Wl,-headerpad_max_install_names -L/opt/local/lib
 -Wl,-headerpad_max_install_names -lz -lcholmod
 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
 -arch x86_64 -arch i386
 CMakeFiles/cmTryCompileExec3523348986.dir/testCCompiler.c.o -o
 cmTryCompileExec3523348986
 }}}
 Any ideas?

-- 
Ticket URL: <https://trac.macports.org/ticket/42158#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list