Skip to content

Commit

Permalink
Revert "Remove ldflag no longer necessary with the new toolchain. (fl…
Browse files Browse the repository at this point in the history
…utter#137)" (#139)

This reverts commit 92c86d0.

Revert "Use -nostdinc++ on Android since those headers need to be picked up from the NDK. (flutter#136)"

This reverts commit 634be5f.

Because buildtools has not been rolled, these interfer with rolling the Windows GN change.
  • Loading branch information
rmacnak-google authored May 15, 2018
1 parent 58918cd commit 78cf6d8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions build/config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -394,12 +394,6 @@ config("compiler") {
# Android-specific flags setup.
# -----------------------------
if (is_android) {
# Use stdinc++ from the NDK.
cflags += [
"-nostdinc++"
]

# Common Android flags
cflags += [
"-ffunction-sections",
"-funwind-tables",
Expand Down Expand Up @@ -583,6 +577,7 @@ config("runtime_library") {
# Remove one the toolchain distribution is fixed
# https://github.com/flutter/flutter/issues/6145
"-Wl,-Bstatic",
"-lc++abi",
"-Wl,-Bdynamic",
"-fuse-ld=lld",
]
Expand Down

0 comments on commit 78cf6d8

Please sign in to comment.