blob: c6abb353ee648210e3c2b173398747a6b1b2f0b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/interpreter/llvm/src/Makefile.config.in b/interpreter/llvm/src/Makefile.config.in
index 7633be2..c8756b1 100644
--- a/interpreter/llvm/src/Makefile.config.in
+++ b/interpreter/llvm/src/Makefile.config.in
@@ -170,6 +170,8 @@ CXXFLAGS += @CXXFLAGS@
# Linker flags.
LDFLAGS += @LDFLAGS@
+NOUNDEF := -Wl,--no-undefined
+LDFLAGS := $(filter-out $(NOUNDEF),$(LDFLAGS))
# Path to the library archiver program.
AR_PATH = @AR@
|