X-Git-Url: http://git.jankratochvil.net/?p=massrebuild.git;a=blobdiff_plain;f=redhat-rpm-config.patch;fp=redhat-rpm-config.patch;h=911ab2000a104351863c96d1b90e8f7cd5e363cd;hp=0000000000000000000000000000000000000000;hb=021cd83bb277640e708031ee54ba7c902dfa7713;hpb=418e9d7afac7d883a3bc4bd7469215244b9542e5 diff --git a/redhat-rpm-config.patch b/redhat-rpm-config.patch new file mode 100644 index 0000000..911ab20 --- /dev/null +++ b/redhat-rpm-config.patch @@ -0,0 +1,26 @@ +diff --git a/macros b/macros +index 858cac1..b47ff0a 100644 +--- a/macros ++++ b/macros +@@ -332,7 +332,7 @@ print(result) + %_clang_lto_cflags -flto + %_lto_cflags %{expand:%%{_%{toolchain}_lto_cflags}} + +-%_general_options -O2 %{?_lto_cflags} -fexceptions -g -grecord-gcc-switches -pipe ++%_general_options -O2 %{?_lto_cflags} -fexceptions -g -fdebug-types-section -grecord-gcc-switches -pipe + %_warning_options -Wall -Werror=format-security + %_preprocessor_defines -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS + +diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec +index 058a8bf..a86bb30 100644 +--- a/redhat-rpm-config.spec ++++ b/redhat-rpm-config.spec +@@ -7,7 +7,7 @@ + Summary: Red Hat specific rpm configuration files + Name: redhat-rpm-config + Version: 166 +-Release: 1%{?dist} ++Release: 2types%{?dist} + # No version specified. + License: GPL+ + URL: https://src.fedoraproject.org/rpms/redhat-rpm-config