annotate src/mesa-1-fixes.patch @ 4489:d50a2adc8d75

mesa: don't force static libstdc++ or libgcc.
author John W. Eaton <jwe@octave.org>
date Thu, 05 Oct 2017 08:57:15 -0400
parents
children a50783d698b2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4489
d50a2adc8d75 mesa: don't force static libstdc++ or libgcc.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 diff -uNr a/scons/gallium.py b/scons/gallium.py
d50a2adc8d75 mesa: don't force static libstdc++ or libgcc.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 --- a/scons/gallium.py 2017-09-17 19:03:22.000000000 -0400
d50a2adc8d75 mesa: don't force static libstdc++ or libgcc.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 +++ b/scons/gallium.py 2017-10-04 19:24:29.499373623 -0400
d50a2adc8d75 mesa: don't force static libstdc++ or libgcc.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 @@ -580,9 +580,6 @@
d50a2adc8d75 mesa: don't force static libstdc++ or libgcc.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 '-Wl,--dynamicbase', # ASLR
d50a2adc8d75 mesa: don't force static libstdc++ or libgcc.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 ]
d50a2adc8d75 mesa: don't force static libstdc++ or libgcc.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 # Avoid depending on gcc runtime DLLs
d50a2adc8d75 mesa: don't force static libstdc++ or libgcc.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 - linkflags += ['-static-libgcc']
d50a2adc8d75 mesa: don't force static libstdc++ or libgcc.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 - if 'w64' in env['CC'].split('-'):
d50a2adc8d75 mesa: don't force static libstdc++ or libgcc.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 - linkflags += ['-static-libstdc++']
d50a2adc8d75 mesa: don't force static libstdc++ or libgcc.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 # Handle the @xx symbol munging of DLL exports
d50a2adc8d75 mesa: don't force static libstdc++ or libgcc.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 shlinkflags += ['-Wl,--enable-stdcall-fixup']
d50a2adc8d75 mesa: don't force static libstdc++ or libgcc.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 #shlinkflags += ['-Wl,--kill-at']