wine/tools/winegcc
Martin Storsjö 6705a71045 winegcc: Prefer -Wl,--pdb=<file> over -Wl,-pdb,<file>.
The previously used syntax, -Wl,-pdb,<file>, was the originally
supported one in lld (since 2018). Later (in 2019) the second
syntax was added, allowing both -Wl,-pdb=<file> and -Wl,-pdb,<file>.
(This other parameter syntax allows easier distinguishing an empty
argument, for letting the linker implicitly pick the file name.)

Move over to using the more modern syntax - reducing the usage of
the old form of the option. This potentially allows deprecating
the original syntax and maybe allows using --pdb as a boolean
flag for implying an automatically named PDB file (which currently
requires using the awkward syntax "--pdb=").

Also prefer the long two dashes form, i.e. --pdb instead of -pdb;
the single dash form is only allowed by getopt when there
are no conflicts with single-letter options, while the form with
two dashes is unambiguous.
2022-11-01 20:46:22 +01:00
..
Makefile.in makefiles: Expand makedep path at compile time. 2020-09-09 20:30:31 +02:00
utils.c makefiles: Store PE objects in subdirectories in the build tree. 2022-10-26 15:03:05 +02:00
utils.h tools: Move target CPU and platform handling to the common tools.h header. 2021-11-18 11:50:30 +01:00
winegcc.c winegcc: Prefer -Wl,--pdb=<file> over -Wl,-pdb,<file>. 2022-11-01 20:46:22 +01:00
winegcc.man.in winegcc: Correctly put the -munix manual section in its own paragraph. 2021-09-20 22:45:48 +02:00