10000 better insulate the flags where forcing 64 bits for solaris. · lethalbrains/arangodb@e2bf40a · GitHub
[go: up one dir, main page]

Skip to content

Commit e2bf40a

Browse files
committed
better insulate the flags where forcing 64 bits for solaris.
1 parent 7916c5b commit e2bf40a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

3rdParty/V8/V8-4.3.61/build/standalone.gypi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@
325325
},
326326
}],
327327
['OS=="solaris"', {'defines': ['_GLIBCXX_USE_C99_MATH']}],
328+
['OS=="solaris"', {'target_defaults': {'cflags': ['-m64']}}],
328329
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
329330
or OS=="netbsd" or OS=="aix"', {
330331
'target_defaults': {
@@ -336,9 +337,8 @@
336337
'-pthread',
337338
'-fno-exceptions',
338339
'-pedantic',
339-
'-m64',
340340
# Don't warn about the "struct foo f = {0};" initialization pattern.
341-
'-Wno-missing-field-initializers',
341+
'-Wno-missing-field-initializers'
342342
],
343343
'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++11' ],
344344
'ldflags': [ '-pthread', '-march=x86-64', '-m64'],

3rdParty/V8/V8-4.3.61/build/toolchain.gypi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,12 +975,13 @@
975975
or OS=="netbsd" or OS=="qnx" or OS=="aix"', {
976976
'conditions': [
977977
[ 'v8_no_strict_aliasing==1', {
978-
'cflags': [ '-fno-strict-aliasing -m64' ],
978+
'cflags': [ '-fno-strict-aliasing' ],
979979
}],
980980
], # conditions
981981
}],
982982
['OS=="solaris"', {
983983
'defines': [ '__C99FEATURES__=1' ], # isinf() etc.
984+
'cflags': ['-m64']
984985
}],
985986
['OS=="freebsd" or OS=="openbsd"', {
986987
'cflags': [ '-I/usr/local/include' ],

0 commit comments

Comments
 (0)
0