2023-08-16 22:26:55 +00:00
|
|
|
Index: common.gypi
|
|
|
|
--- common.gypi.orig
|
|
|
|
+++ common.gypi
|
|
|
|
@@ -180,7 +180,6 @@
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
- 'cflags': [ '-O3' ],
|
|
|
|
'conditions': [
|
|
|
|
['enable_lto=="true"', {
|
|
|
|
'cflags': ['<(lto)'],
|
|
|
|
@@ -409,7 +408,9 @@
|
|
|
|
}],
|
|
|
|
['OS=="openbsd"', {
|
|
|
|
'cflags': [ '-I/usr/local/include' ],
|
|
|
|
- 'ldflags': [ '-Wl,-z,wxneeded' ],
|
|
|
|
+ 'ldflags': [ '-Wl,-z,wxneeded'
|
|
|
|
+ , '-Wl,-rpath,${EOPENSSL_LIB}'
|
|
|
|
+ ],
|
|
|
|
}],
|
2023-09-26 17:06:53 +00:00
|
|
|
['_toolset=="host"', {
|
|
|
|
'conditions': [
|
2023-08-16 22:26:55 +00:00
|
|
|
@@ -426,7 +427,7 @@
|
2023-09-26 17:06:53 +00:00
|
|
|
'ldflags': [ '-m32' ],
|
|
|
|
}],
|
|
|
|
[ 'host_arch=="ppc64" and OS not in "aix os400"', {
|
|
|
|
- 'cflags': [ '-m64', '-mminimal-toc' ],
|
|
|
|
+ 'cflags': [ '-m64' ],
|
|
|
|
'ldflags': [ '-m64' ],
|
|
|
|
}],
|
|
|
|
[ 'host_arch=="s390x" and OS=="linux"', {
|
|
|
|
@@ -450,7 +451,7 @@
|
|
|
|
'ldflags': [ '-m32' ],
|
|
|
|
}],
|
|
|
|
[ 'target_arch=="ppc64" and OS not in "aix os400"', {
|
|
|
|
- 'cflags': [ '-m64', '-mminimal-toc' ],
|
|
|
|
+ 'cflags': [ '-m64' ],
|
|
|
|
'ldflags': [ '-m64' ],
|
|
|
|
}],
|
|
|
|
[ 'target_arch=="s390x" and OS=="linux"', {
|