]> granicus.if.org Git - icinga2/commitdiff
Build fix for RHEL 5
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 17 Nov 2014 09:22:52 +0000 (10:22 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 17 Nov 2014 09:23:11 +0000 (10:23 +0100)
icinga2.spec

index aee7b73a7361e08370f91ab1efbfdb13f8b3fce0..bd950d07da76af0dd68dbe71d9bfe17ea64150d7 100644 (file)
@@ -31,7 +31,9 @@
 %define apachegroup apache
 %if 0%{?el5}%{?el6}
 %define use_systemd 0
 %define apachegroup apache
 %if 0%{?el5}%{?el6}
 %define use_systemd 0
+%if %(uname -m) != "x86_64"
 %define march_flag -march=i686
 %define march_flag -march=i686
+%endif
 %else
 # fedora and el>=7
 %define use_systemd 1
 %else
 # fedora and el>=7
 %define use_systemd 1