Skip to content

Commit 403264c

Browse files
targosRafaelGSS
authored andcommitted
build: remove redundant -mXX flags for V8
They are already set by `common.gypi`. PR-URL: #57907 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 227f2cb commit 403264c

File tree

1 file changed

+0
-91
lines changed

1 file changed

+0
-91
lines changed

tools/v8_gypfiles/toolchain.gypi

Lines changed: 0 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -97,33 +97,6 @@
9797
# Indicates if gcmole tools are downloaded by a hook.
9898
'gcmole%': 0,
9999
},
100-
101-
# [GYP] this needs to be outside of the top level 'variables'
102-
'conditions': [
103-
['host_arch=="ia32" or host_arch=="x64" or \
104-
host_arch=="ppc64" or \
105-
host_arch=="s390x" or \
106-
clang==1', {
107-
'variables': {
108-
'host_cxx_is_biarch%': 1,
109-
},
110-
}, {
111-
'variables': {
112-
'host_cxx_is_biarch%': 0,
113-
},
114-
}],
115-
['target_arch=="ia32" or target_arch=="x64" or \
116-
target_arch=="ppc64" or \
117-
target_arch=="s390x" or clang==1', {
118-
'variables': {
119-
'target_cxx_is_biarch%': 1,
120-
},
121-
}, {
122-
'variables': {
123-
'target_cxx_is_biarch%': 0,
124-
},
125-
}],
126-
],
127100
'target_defaults': {
128101
'include_dirs': [
129102
'<(V8_ROOT)',
@@ -574,70 +547,6 @@
574547
'-mmmx', # Allows mmintrin.h for MMX intrinsics.
575548
],
576549
}],
577-
['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
578-
or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \
579-
(v8_target_arch=="arm" or v8_target_arch=="ia32")', {
580-
'target_conditions': [
581-
['_toolset=="host"', {
582-
'conditions': [
583-
['host_cxx_is_biarch==1', {
584-
'conditions': [
585-
['host_arch=="s390x"', {
586-
'cflags': [ '-m31' ],
587-
'ldflags': [ '-m31' ]
588-
},{
589-
'cflags': [ '-m32' ],
590-
'ldflags': [ '-m32' ]
591-
}],
592-
],
593-
}],
594-
],
595-
'xcode_settings': {
596-
'ARCHS': [ 'i386' ],
597-
},
598-
}],
599-
['_toolset=="target"', {
600-
'conditions': [
601-
['target_cxx_is_biarch==1', {
602-
'conditions': [
603-
['host_arch=="s390x"', {
604-
'cflags': [ '-m31' ],
605-
'ldflags': [ '-m31' ]
606-
},{
607-
'cflags': [ '-m32' ],
608-
'ldflags': [ '-m32' ],
609-
}],
610-
],
611-
}],
612-
],
613-
'xcode_settings': {
614-
'ARCHS': [ 'i386' ],
615-
},
616-
}],
617-
],
618-
}],
619-
['(OS=="linux" or OS=="android") and \
620-
(v8_target_arch=="x64" or v8_target_arch=="arm64" or \
621-
v8_target_arch=="ppc64" or v8_target_arch=="s390x")', {
622-
'target_conditions': [
623-
['_toolset=="host"', {
624-
'conditions': [
625-
['host_cxx_is_biarch==1', {
626-
'cflags': [ '-m64' ],
627-
'ldflags': [ '-m64' ]
628-
}],
629-
],
630-
}],
631-
['_toolset=="target"', {
632-
'conditions': [
633-
['target_cxx_is_biarch==1', {
634-
'cflags': [ '-m64' ],
635-
'ldflags': [ '-m64' ],
636-
}],
637-
]
638-
}],
639-
],
640-
}],
641550
['OS=="android" and v8_android_log_stdout==1', {
642551
'defines': [
643552
'V8_ANDROID_LOG_STDOUT',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy