Browse Source

Compile plugins with -fno-gnu-unique.

tags/v2.0.0
Andrew Belt 4 years ago
parent
commit
7a02725179
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      plugin.mk

+ 3
- 0
plugin.mk View File

@@ -16,6 +16,9 @@ DISTRIBUTABLES += plugin.json


FLAGS += -fPIC FLAGS += -fPIC
FLAGS += -I$(RACK_DIR)/include -I$(RACK_DIR)/dep/include FLAGS += -I$(RACK_DIR)/include -I$(RACK_DIR)/dep/include
# This prevents static variables in the DSO (dynamic shared object) from being preserved after dlclose().
# I don't really understand the side effects (see GCC manual), but so far tests are positive.
FLAGS += -fno-gnu-unique


include $(RACK_DIR)/arch.mk include $(RACK_DIR)/arch.mk




Loading…
Cancel
Save