Skip to content

Commit 03f2a11

Browse files
committed
[Make] Revert some changes from r372795.
These changes cause the corresponding test to fail on the Linux bots. llvm-svn: 372801
1 parent 4d4a8ee commit 03f2a11

File tree

2 files changed

+4
-4
lines changed
  • lldb/packages/Python/lldbsuite/test
    • commands/expression/import-std-module/sysroot
    • functionalities/dead-strip

2 files changed

+4
-4
lines changed

lldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# system headers.
44
NO_TEST_COMMON_H := 1
55

6-
CXXFLAGS_EXTRAS := -I $(SRCDIR)/root/usr/include/c++/include/ -I $(SRCDIR)/root/usr/include/ -nostdinc -nostdinc++ -nostdlib++
6+
CXXFLAGS += -I $(SRCDIR)/root/usr/include/c++/include/ -I $(SRCDIR)/root/usr/include/ -nostdinc -nostdinc++ -nostdlib++
77
CXX_SOURCES := main.cpp
88

99
include Makefile.rules

lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ ifeq "$(OS)" ""
55
endif
66

77
ifeq "$(OS)" "Darwin"
8-
LD_EXTRAS := -Xlinker -dead_strip
8+
LDFLAGS = $(CFLAGS) -Xlinker -dead_strip
99
else
10-
CFLAGS_EXTRAS := -fdata-sections -ffunction-sections
11-
LD_EXTRAS := -Wl,--gc-sections
10+
CFLAGS += -fdata-sections -ffunction-sections
11+
LDFLAGS = $(CFLAGS) -Wl,--gc-sections
1212
endif
1313

1414
MAKE_DSYM := NO

0 commit comments

Comments
 (0)