- Add compiler-rt-fix-tsan-build.patch to fix build with gcc-PIE. OBS-URL: https://build.opensuse.org/request/show/905777 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go1.9?expand=0&rev=34
12 lines
579 B
Diff
12 lines
579 B
Diff
--- compiler-rt-g68e1532492f9b3fce0e9024f3c31411105965b11/lib/tsan/go/buildgo.sh.orig 2021-07-12 09:17:11.974244083 +0200
|
|
+++ compiler-rt-g68e1532492f9b3fce0e9024f3c31411105965b11/lib/tsan/go/buildgo.sh 2021-07-12 09:17:26.746448512 +0200
|
|
@@ -39,7 +39,7 @@
|
|
if [ "`uname -a | grep Linux`" != "" ]; then
|
|
SUFFIX="linux_amd64"
|
|
OSCFLAGS="-fPIC -ffreestanding -Wno-maybe-uninitialized -Wno-unused-const-variable -Werror -Wno-unknown-warning-option"
|
|
- OSLDFLAGS="-lpthread -fPIC -fpie"
|
|
+ OSLDFLAGS="-lpthread -fPIC -fpie -no-pie"
|
|
SRCS="
|
|
$SRCS
|
|
../rtl/tsan_platform_linux.cc
|