Skip to content

Commit

Permalink
[Make] Revert some changes from r372795.
Browse files Browse the repository at this point in the history
These changes cause the corresponding test to fail on the Linux bots.

llvm-svn: 372801
  • Loading branch information
JDevlieghere committed Sep 25, 2019
1 parent 4d4a8ee commit 03f2a11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# system headers.
NO_TEST_COMMON_H := 1

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

include Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ ifeq "$(OS)" ""
endif

ifeq "$(OS)" "Darwin"
LD_EXTRAS := -Xlinker -dead_strip
LDFLAGS = $(CFLAGS) -Xlinker -dead_strip
else
CFLAGS_EXTRAS := -fdata-sections -ffunction-sections
LD_EXTRAS := -Wl,--gc-sections
CFLAGS += -fdata-sections -ffunction-sections
LDFLAGS = $(CFLAGS) -Wl,--gc-sections
endif

MAKE_DSYM := NO
Expand Down

0 comments on commit 03f2a11

Please sign in to comment.