Skip to content

Conversation

@robertsipka
Copy link
Contributor

@robertsipka robertsipka commented Jan 5, 2017

The CMAKE_C_FLAGS_RELEASE had been overwritten earlier to change the optimization level (from -O3 to -Os), but missed to add -DNDEBUG flag. The MinSizeRel build type ensure these flags and it is exactly the same that was the original plan.

JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
@robertsipka robertsipka changed the title Put -DNDEBUG into CMAKE_C_FLAGS_RELEASE compiler flags. Change the default build type to MinSizeRel. Jan 5, 2017
Copy link
Contributor

@LaszloLango LaszloLango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zherczeg
Copy link
Member

zherczeg commented Jan 6, 2017

LGTM

@LaszloLango LaszloLango merged commit ff8ff98 into jerryscript-project:master Jan 9, 2017
@robertsipka robertsipka deleted the release_flags branch March 16, 2017 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants