No success so far. Exporting export MACOSX_DEPLOYMENT_TARGET=10.6 does not produce any effect when reinstalling the module cpanm -f PAR::Packer. Reading the environment variables of my open Terminal with:

foreach (sort keys %ENV) { print "$_ = $ENV{$_}\n"; }

produces LC_VERSION_MIN_MACOSX  =  10.07 but - after reinstalling the module (I also reinstalled the PAR module, as it must have some influence on the compiler settings), still my binary has

cmd LC_VERSION_MIN_MACOSX cmdsize 16 version 10.13 sdk 10.13

I found the following in the Makefile (inside the main folder and milder)

LDDLFLAGS = -mmacosx-version-min=10.13 -bundle -undefined dynamic_loo +kup -L/usr/local/lib -fstack-protector-strong LDFLAGS = -mmacosx-version-min=10.13 -fstack-protector-strong -L/usr/ +local/lib

However, changing the value (changed everywhere) and running make -> make test -> make install still generates a binary with the -mmacosx-version-min=10.13 flag. Getting a bit depressed.


In reply to Re^4: PAR pp macOs set -mmacosx-version-min by IB2017
in thread PAR pp macOs set -mmacosx-version-min by IB2017

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.