Revision
108481
Author
ryandesign@macports.org
Date
2013-07-24 01:31:24 -0700 (Wed, 24 Jul 2013)

Log Message

reaver: ensure we're UsingTheRightCompiler and -arch flags

Modified Paths

Diff

Modified: trunk/dports/security/reaver/Portfile (108480 => 108481)


--- trunk/dports/security/reaver/Portfile	2013-07-24 08:18:10 UTC (rev 108480)
+++ trunk/dports/security/reaver/Portfile	2013-07-24 08:31:24 UTC (rev 108481)
@@ -37,6 +37,8 @@
 # Disable silent rules.
 build.args          V=1
 
+build.args-append   CC="${configure.cc} [get_canonical_archflags]"
+
 post-destroot {
     xinstall -d ${destroot}${prefix}/share/doc
     copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
@@ -50,7 +52,7 @@
     }
 }
 
-# TODO: Does not consistently use -arch flags or the requested compiler.
+# TODO: ld: warning: ignoring file crypto/libcrypto.a, file was built for archive which is not the architecture being linked
 universal_variant   no
 
 notes "