aboutsummaryrefslogtreecommitdiff
path: root/lldb
diff options
context:
space:
mode:
authorFelipe de Azevedo Piovezan <fpiovezan@apple.com>2024-06-12 09:31:50 -0700
committerFelipe de Azevedo Piovezan <fpiovezan@apple.com>2024-06-12 09:32:54 -0700
commitc5790206f719c8fac168ae488420f31800d55cf0 (patch)
tree6ebfc19f65a6d87482863c334105ee017860879b /lldb
parentfe4cd104a8dbac4f09ff1f930909381dfa789bc7 (diff)
downloadllvm-c5790206f719c8fac168ae488420f31800d55cf0.zip
llvm-c5790206f719c8fac168ae488420f31800d55cf0.tar.gz
llvm-c5790206f719c8fac168ae488420f31800d55cf0.tar.bz2
[lldb] Fix linker flags in lldb tests
This is a fixup to https://github.com/llvm/llvm-project/pull/93808, which used LDFLAGS instead of the correct LD_EXTRAS
Diffstat (limited to 'lldb')
-rw-r--r--lldb/test/API/commands/target/basic/Makefile2
-rw-r--r--lldb/test/API/lang/c/global_variables/Makefile2
-rw-r--r--lldb/test/API/lang/cpp/char8_t/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/API/commands/target/basic/Makefile b/lldb/test/API/commands/target/basic/Makefile
index e669718..1f1b61d 100644
--- a/lldb/test/API/commands/target/basic/Makefile
+++ b/lldb/test/API/commands/target/basic/Makefile
@@ -4,7 +4,7 @@
# EXE := b.out
ifndef PIE
- LDFLAGS := -no-pie
+ LD_EXTRAS := -no-pie
endif
include Makefile.rules
diff --git a/lldb/test/API/lang/c/global_variables/Makefile b/lldb/test/API/lang/c/global_variables/Makefile
index 00c2557..acd6c56 100644
--- a/lldb/test/API/lang/c/global_variables/Makefile
+++ b/lldb/test/API/lang/c/global_variables/Makefile
@@ -3,7 +3,7 @@ C_SOURCES := main.c
DYLIB_NAME := a
DYLIB_C_SOURCES := a.c
ifndef PIE
- LDFLAGS := -no-pie
+ LD_EXTRAS := -no-pie
endif
include Makefile.rules
diff --git a/lldb/test/API/lang/cpp/char8_t/Makefile b/lldb/test/API/lang/cpp/char8_t/Makefile
index 28f982a..7ae9c71 100644
--- a/lldb/test/API/lang/cpp/char8_t/Makefile
+++ b/lldb/test/API/lang/cpp/char8_t/Makefile
@@ -1,7 +1,7 @@
CXX_SOURCES := main.cpp
CXXFLAGS_EXTRAS := -std=c++2a -fchar8_t
ifndef PIE
- LDFLAGS := -no-pie
+ LD_EXTRAS := -no-pie
endif
include Makefile.rules