Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
backup
>
amanda-enterprise
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
amanda_enterprise.spec
@@ -146,15 +146,31 @@ %define config_user %{amanda_user} %define config_group %{amanda_group} -%if 0%{?suse_version} >= 1030 +%if 0%{?suse_version} >= 1110 + +%ifarch x86_64 +%define build_host x86_64-unknown-linux +CFLAGS="-fPIC" CXXFLAGS="" \ +%else +%define build_host i386-unknown-linux +CFLAGS="-fPIC" CXXFLAGS="" \ + +%endif + +%endif + +%if 0%{?suse_version} >= 1030 && 0%{?suse_version} < 1110 + %ifarch x86_64 %define build_host x86_64-unknown-linux -CFLAGS="-fpie" CXXFLAGS="" \ +CFLAGS="" CXXFLAGS="" \ %else %define build_host i386-unknown-linux -CFLAGS="-fpie" CXXFLAGS="" \ +CFLAGS="" CXXFLAGS="" \ %endif + %else + %ifarch x86_64 %define build_host x86_64-unknown-linux CFLAGS="%{optflags} -m64 -g" CXXFLAGS="%{optflags} -m64" \ @@ -162,6 +178,7 @@ %define build_host i386-unknown-linux CFLAGS="%{optflags} -m32 -g" CXXFLAGS="%{optflags} -m32" \ %endif + %endif ./configure \ --build=%{build_host} \