diff options
Diffstat (limited to 'lib/kernel/src/Makefile')
-rw-r--r-- | lib/kernel/src/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/kernel/src/Makefile b/lib/kernel/src/Makefile index 3d1506ea08..88752431eb 100644 --- a/lib/kernel/src/Makefile +++ b/lib/kernel/src/Makefile @@ -1,7 +1,7 @@ # # %CopyrightBegin% # -# Copyright Ericsson AB 1996-2018. All Rights Reserved. +# Copyright Ericsson AB 1996-2019. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -176,8 +176,11 @@ APPUP_TARGET= $(EBIN)/$(APPUP_FILE) ifeq ($(NATIVE_LIBS_ENABLED),yes) ERL_COMPILE_FLAGS += +native +else +ERL_COMPILE_FLAGS += -Werror endif -ERL_COMPILE_FLAGS += -I../include -Werror +ERL_COMPILE_FLAGS += -I../include + # ---------------------------------------------------- # Targets |