diff options
author | Adrian Perez de Castro | 2018-08-14 00:55:25 +0200 |
---|---|---|
committer | Adrian Perez de Castro | 2018-08-14 00:55:25 +0200 |
commit | 2ff936cf96b2cc4a75559a712a05432fcf2b5f61 (patch) | |
tree | 34b64b328d6be8e92f945f965d0301b17515e217 /gcc-support.patch | |
parent | cebff1591fa65079d1470de4801e2a137a53afcb (diff) | |
download | aur-2ff936cf96b2cc4a75559a712a05432fcf2b5f61.tar.gz |
Drop unneeded hunk from gcc-support.patch
With the latest upstream patches, the dropped hunk is not only unneeded,
but it also won't apply, so just remove the uneeded part of the patch.
Diffstat (limited to 'gcc-support.patch')
-rw-r--r-- | gcc-support.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc-support.patch b/gcc-support.patch index e2119234a162..43db6676e29d 100644 --- a/gcc-support.patch +++ b/gcc-support.patch @@ -1,22 +1,5 @@ --- src/gn/build/gen.py.orig 2018-07-21 16:28:08.909054488 +0200 +++ src/gn/build/gen.py 2018-07-21 19:15:30.284412730 +0200 -@@ -293,11 +297,11 @@ - # probably resolve this and (re-)add a way to build against libc++. - cflags.append('--sysroot=' + linux_sysroot) - ldflags.append('--sysroot=' + linux_sysroot) -- cflags.append('-stdlib=libstdc++') -- ldflags.extend(['-static-libstdc++', -- '-stdlib=libstdc++', -- '-Wl,--as-needed', -- ]) -+ if "clang" in cc: -+ cflags.append('-stdlib=libstdc++') -+ ldflags.extend(['-static-libstdc++', -+ '-stdlib=libstdc++']) -+ ldflags.append('-Wl,--as-needed') - libs.extend([ - '-lgcc_s', - '-lpthread', @@ -308,8 +312,11 @@ ldflags.append(min_mac_version_flag) |