How to differentiate between BSD and OSX and POST_STRIP_PROCESS
Michael Franz
mvfranz at gmail.com
Sat Oct 18 12:31:58 PDT 2008
I attached a patch that will accomplish this.
On Sun, Oct 5, 2008 at 8:45 PM, Michael Franz <mvfranz at gmail.com> wrote:
> 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/20081018/d1536043/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strip.patch
Type: application/octet-stream
Size: 785 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20081018/d1536043/strip.patch
More information about the bsd-port-dev
mailing list