How to differentiate between BSD and OSX and POST_STRIP_PROCESS

Michael Franz mvfranz at gmail.com
Sun Oct 5 17:45:10 PDT 2008


That will work too.

On Sun, Oct 5, 2008 at 3:27 PM, Kelly O'Hair <Kelly.Ohair at sun.com> wrote:

> Could we do something like this instead?
>
> ifeq ($(OS_VENDOR), Apple)
>  STRIP_G_OPTION =
> else
>  # strip option that leaves local function Elf symbols (better stack
> traces)
>  STRIP_G_OPTION = -g
> endif
>
> ifeq ($(VARIANT), OPT)
>  ifneq ($(NO_STRIP), true)
>    # Debug 'strip -g' leaves local function Elf symbols (better stack
> traces)
>    POST_STRIP_PROCESS = $(STRIP) $(STRIP_G_OPTION)
>  endif
> endif
>
>
>
> -kto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20081005/80a203a7/attachment.html 


More information about the bsd-port-dev mailing list