Skip to content

Commit c579020

Browse files
[lldb] Fix linker flags in lldb tests
This is a fixup to #93808, which used LDFLAGS instead of the correct LD_EXTRAS
1 parent fe4cd10 commit c579020

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lldb/test/API/commands/target/basic/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# EXE := b.out
55

66
ifndef PIE
7-
LDFLAGS := -no-pie
7+
LD_EXTRAS := -no-pie
88
endif
99

1010
include Makefile.rules

lldb/test/API/lang/c/global_variables/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ C_SOURCES := main.c
33
DYLIB_NAME := a
44
DYLIB_C_SOURCES := a.c
55
ifndef PIE
6-
LDFLAGS := -no-pie
6+
LD_EXTRAS := -no-pie
77
endif
88

99
include Makefile.rules
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CXX_SOURCES := main.cpp
22
CXXFLAGS_EXTRAS := -std=c++2a -fchar8_t
33
ifndef PIE
4-
LDFLAGS := -no-pie
4+
LD_EXTRAS := -no-pie
55
endif
66

77
include Makefile.rules

0 commit comments

Comments
 (0)