Add -frecord-gcc-switches to the global cflags 32/190832/2
authorMikhail Kashkarov <m.kashkarov@partner.samsung.com>
Fri, 5 Oct 2018 13:55:47 +0000 (16:55 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Tue, 7 Apr 2020 02:51:26 +0000 (11:51 +0900)
commita214f139fb4942f5da84f398949c9471ce136c51
tree41eb962f6295e3a461ff92357ed928335738721c
parentce4a0ff145bf814cf26fd52000a59d06ed910b44
Add -frecord-gcc-switches to the global cflags

Record the command line used to invoke the compiler to the object file that is
being created. Creates .GCC.command.line section for the ELF files that is going
to be stripped into debuginfo by rpm.
Compiler options can be retrieved from debuginfo like this:

readelf -p .GCC.command.line libc-2.24.so.debug

Change-Id: Ib7b4dff734e5d9a06853b2680036a79a6381fe3d
Tizen:Base/_config