[macports-ports] 11/11: lz4: use the right C++ compiler

Ryan Schmidt ryandesign at macports.org
Sat Sep 16 23:39:55 UTC 2017


> On Sep 16, 2017, at 17:48, Marcus Calhoun-Lopez <mcalhoun at macports.org> wrote:
> 
> Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
> in repository macports-ports.
> 
> 
> https://github.com/macports/macports-ports/commit/84df47b322e354c0211df58f70cea91c2dcd246a
> 
> commit 84df47b322e354c0211df58f70cea91c2dcd246a
> 
> Author: Marcus Calhoun-Lopez <marcuscalhounlopez at gmail.com>
> AuthorDate: Sat Sep 16 15:47:50 2017 -0700
> 
> 
>     lz4: use the right C++ compiler
> 
>     
> 
>     See https://trac.macports.org/wiki/UsingTheRightCompiler
> 
> ---
>  archivers/lz4/Portfile | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> 
> diff --git a/archivers/lz4/Portfile b/archivers/lz4/Portfile
> 
> index ada6ed6..8a7dcaa 100644
> 
> --- a/archivers/lz4/Portfile
> 
> +++ b/archivers/lz4/Portfile
> 
> @@ -30,9 +30,13 @@ destroot.args-append PREFIX=${prefix}
> 
>  if { ![variant_isset universal] } {
>      build.args-append    CC="${configure.cc} [get_canonical_archflags cc]"
>      destroot.args-append CC="${configure.cc} [get_canonical_archflags cc]"
> +    build.args-append    CXX="${configure.cxx} [get_canonical_archflags cc]"
> +    destroot.args-append CXX="${configure.cxx} [get_canonical_archflags cc]"

Should probably be "cxx" here, not "cc", though it currently doesn't make a difference.





More information about the macports-dev mailing list