File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ PRIV_DIR := $(MIX_APP_PATH)/priv
2
2
NIF_PATH := $(PRIV_DIR ) /libexample.so
3
3
C_SRC := $(shell pwd) /c_src
4
4
5
- CPPFLAGS := -shared -fPIC -std=c++17 -Wall -Wextra
5
+ CPPFLAGS := -shared -fPIC -fvisibility=hidden - std=c++17 -Wall -Wextra
6
6
CPPFLAGS += -I$(ERTS_INCLUDE_DIR ) -I$(FINE_INCLUDE_DIR )
7
7
8
8
ifdef DEBUG
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ PRIV_DIR := $(MIX_APP_PATH)/priv
2
2
NIF_PATH := $(PRIV_DIR ) /libfinest.so
3
3
C_SRC := $(shell pwd) /c_src
4
4
5
- CPPFLAGS := -shared -fPIC -std=c++17 -Wall -Wextra
5
+ CPPFLAGS := -shared -fPIC -fvisibility=hidden - std=c++17 -Wall -Wextra
6
6
CPPFLAGS += -I$(ERTS_INCLUDE_DIR ) -I$(FINE_INCLUDE_DIR )
7
7
# We want to eliminate all warnings, so the end user doesn't see any.
8
8
CPPFLAGS += -Werror
You can’t perform that action at this time.
0 commit comments