Skip to content

Add STRIP_RELEASE_BINARY option to Makefile #928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

akosthekiss
Copy link
Member

It is already supported by CMakeLists, might be useful to allow it
to be passed through Makefile.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu

@akosthekiss akosthekiss added enhancement An improvement tools Related to the tooling scripts labels Mar 2, 2016
@akosthekiss akosthekiss force-pushed the makefile-add-strip-option branch from 3537437 to 337ce93 Compare March 2, 2016 18:15
@zherczeg
Copy link
Member

zherczeg commented Mar 3, 2016

Isn't this the default?

@akosthekiss
Copy link
Member Author

On Linux, Darwin, and OpenWRT targets, this is ON by default, on MCU targets, the default is OFF. It'd be good to have a way of overriding it.

E.g., I'd like to have symbols in my release linux binaries to be able to get at least somewhat meaningful objdumps/disassemblies -- this would need turning that option OFF.

(According to my understanding, it has no effect on the "important" parts of the binary, e.g., on text and data sizes.)

@LaszloLango
Copy link
Contributor

LGTM

1 similar comment
@zherczeg
Copy link
Member

zherczeg commented Mar 4, 2016

LGTM

It is already supported by CMakeLists, might be useful to allow it
to be passed through Makefile.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
@akosthekiss akosthekiss force-pushed the makefile-add-strip-option branch from 337ce93 to c0f3a9f Compare March 4, 2016 14:20
@akosthekiss akosthekiss merged commit c0f3a9f into jerryscript-project:master Mar 4, 2016
@akosthekiss akosthekiss deleted the makefile-add-strip-option branch March 4, 2016 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement tools Related to the tooling scripts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants