diff options
author | François Andriot <albator78@libertysurf.fr> | 2022-05-15 09:16:54 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2022-05-15 09:23:34 +0200 |
commit | 6dcaea9065cada243977d2d5e06cf4c8f1472d89 (patch) | |
tree | 1e5c65764def7fd752b9c95e22ab1f9e47212662 /redhat/main | |
parent | b005a4d36bca73c31fb61f4dfd89cfc7421c0d59 (diff) | |
download | tde-packaging-6dcaea9065cada243977d2d5e06cf4c8f1472d89.tar.gz tde-packaging-6dcaea9065cada243977d2d5e06cf4c8f1472d89.zip |
RPM: update build scripts for rhel6 to use cmake3
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/main')
-rw-r--r-- | redhat/main/tdewebdev/tdewebdev.spec | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/redhat/main/tdewebdev/tdewebdev.spec b/redhat/main/tdewebdev/tdewebdev.spec index 3c1711f8b..a8a433f4d 100644 --- a/redhat/main/tdewebdev/tdewebdev.spec +++ b/redhat/main/tdewebdev/tdewebdev.spec @@ -484,6 +484,13 @@ fi \ .. +# Strange cmake behaviour under rhel6 +%if 0%{?rhel} == 6 +grep -rl "CXX_FLAGS.*\"-O2" | while read file; do + sed -i "${file}" -e "s|\"||g" +done +%endif + %__make %{?_smp_mflags} || %__make |