Skip to content

Instantly share code, notes, and snippets.

@rolfbjarne
Created February 4, 2016 12:29
Show Gist options
  • Save rolfbjarne/4f953565a3e70dc10aab to your computer and use it in GitHub Desktop.
Save rolfbjarne/4f953565a3e70dc10aab to your computer and use it in GitHub Desktop.
commit b0e613ef9d519dc8ffba68742c0beb697de058d3
Author: Rolf Bjarne Kvinge <[email protected]>
Date: Thu Feb 4 13:29:20 2016 +0100
[mk] Build our release runtime with -O2.
diff --git a/mk/rules.mk b/mk/rules.mk
index f5b3bcd..1f1cb85 100644
--- a/mk/rules.mk
+++ b/mk/rules.mk
@@ -178,7 +178,7 @@ define NativeCompilationTemplate
endef
-$(eval $(call NativeCompilationTemplate))
+$(eval $(call NativeCompilationTemplate,,-O2))
$(eval $(call NativeCompilationTemplate,-debug,-DDEBUG))
.libs/ios .libs/watchos .libs/tvos:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment