Add _GLIBCXX_ASSERTIONS to CFLAGS/CXXFLAGS (#1515858)
This commit is contained in:
parent
7c4cd33085
commit
d52d46fb0c
2
macros
2
macros
|
@ -155,7 +155,7 @@
|
|||
%_annotated_build 1
|
||||
%_annotated_cflags %{?_annotated_build:%{_annobin_cflags}}
|
||||
|
||||
%__global_compiler_flags -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches %{_hardened_cflags} %{_annotated_cflags}
|
||||
%__global_compiler_flags -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches %{_hardened_cflags} %{_annotated_cflags}
|
||||
|
||||
%__global_cflags %{optflags}
|
||||
%__global_cxxflags %{optflags}
|
||||
|
|
Loading…
Reference in New Issue