aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stdlib/src/Makefile')
-rw-r--r--lib/stdlib/src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stdlib/src/Makefile b/lib/stdlib/src/Makefile
index 37c836a254..237818c08b 100644
--- a/lib/stdlib/src/Makefile
+++ b/lib/stdlib/src/Makefile
@@ -146,6 +146,9 @@ APPUP_TARGET= $(EBIN)/$(APPUP_FILE)
# FLAGS
# ----------------------------------------------------
+ifeq ($(NATIVE_LIBS_ENABLED),yes)
+ERL_COMPILE_FLAGS += +native
+endif
ERL_COMPILE_FLAGS += -I../include -I../../kernel/include
# ----------------------------------------------------