Skip to content

Commit db36af1

Browse files
ivanhernandez13gabebear
authored andcommitted
Add NDEBUG option to release flags so assertions are disabled in release builds. (#439)
1 parent 2f5162f commit db36af1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ios-deploy.xcodeproj/project.pbxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@
472472
);
473473
GCC_C_LANGUAGE_STANDARD = gnu99;
474474
GCC_NO_COMMON_BLOCKS = YES;
475+
GCC_PREPROCESSOR_DEFINITIONS = "NDEBUG=1";
475476
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
476477
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
477478
GCC_WARN_UNDECLARED_SELECTOR = YES;

0 commit comments

Comments
 (0)