update credits
[LibreOffice.git] / external / openssl / configurable-z-option.patch.0
blobd9478b6a9701f256d3a92bb40d77e2134080ad3c
1 --- Configurations/10-main.conf.sav     2023-09-19 22:02:31.000000000 +0900
2 +++ Configurations/10-main.conf 2023-09-30 23:47:49.734377000 +0900
3 @@ -14,7 +14,7 @@
4          } elsif ($disabled{asm}) {
5              # assembler is still used to compile uplink shim
6              $vc_win64a_info = { AS        => "ml64",
7 -                                ASFLAGS   => "/nologo /Zi",
8 +                                ASFLAGS   => "/nologo $$(DEBUG_FLAGS_VALUE)",
9                                  asflags   => "/c /Cp /Cx",
10                                  asoutflag => "/Fo",
11                                  perlasm_scheme => "masm" };
12 @@ -44,7 +44,7 @@
13          } elsif ($disabled{asm}) {
14              # not actually used, uplink shim is inlined into C code
15              $vc_win32_info = { AS        => "ml",
16 -                               ASFLAGS   => "/nologo /Zi",
17 +                               ASFLAGS   => "/nologo $$(DEBUG_FLAGS_VALUE)",
18                                 asflags   => "/Cp /coff /c /Cx",
19                                 asoutflag => "/Fo",
20                                 perlasm_scheme => "win32" };
21 @@ -1333,10 +1333,10 @@
22                                  "UNICODE", "_UNICODE",
23                                  "_CRT_SECURE_NO_DEPRECATE",
24                                  "_WINSOCK_DEPRECATED_NO_WARNINGS"),
25 -        lib_cflags       => add("/Zi /Fdossl_static.pdb"),
26 +        lib_cflags       => add("\$(DEBUG_FLAGS_VALUE)"),
27          lib_defines      => add("L_ENDIAN"),
28 -        dso_cflags       => "/Zi /Fddso.pdb",
29 -        bin_cflags       => "/Zi /Fdapp.pdb",
30 +        dso_cflags       => "\$(DEBUG_FLAGS_VALUE)",
31 +        bin_cflags       => "\$(DEBUG_FLAGS_VALUE)",
32          # def_flag made to empty string so a .def file gets generated
33          shared_defflag   => '',
34          shared_ldflag    => "/dll",