1 s.kodali 1.1 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-arch-for-32bit-provider-support.spec
|
2 dev.meetei 1.2 # This is required only when PEGASUS_32BIT_PROVIDER_SUPPORT is set
|
3 s.kodali 1.1
4 %if %{PEGASUS_32BIT_PROVIDER_SUPPORT}
5
6 %ifarch x86_64
|
7 dl.meetei 1.3
8 %if %{PEGASUS_BUILD_WITH_CLANG}
9 %global PEGASUS_HARDWARE_PLATFORM_FOR_32BIT LINUX_IX86_CLANG
10 %global PEGASUS_EXTRA_CXX_FLAGS_32BIT "-O2 -g -pipe -fexceptions -fstack-protector -march=i386 -mtune=generic -fasynchronous-unwind-tables -m32"
11 % global PEGASUS_EXTRA_LINK_FLAGS_32BIT "-O2 -g -pipe -fexceptions -fstack-protector -march=i386 -mtune=generic -fasynchronous-unwind-tables -m32"
12 %else
|
13 s.kodali 1.1 %global PEGASUS_HARDWARE_PLATFORM_FOR_32BIT LINUX_IX86_GNU
14 %global PEGASUS_EXTRA_CXX_FLAGS_32BIT "-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wno-unused -m32"
15 %global PEGASUS_EXTRA_LINK_FLAGS_32BIT "-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=i386 -mtune=generic -fasynchronous-unwind-tables -m32"
|
16 dl.meetei 1.3 %endif
|
17 s.kodali 1.1 %else
18 %ifarch ppc64 pseries
19 %global PEGASUS_HARDWARE_PLATFORM_FOR_32BIT LINUX_PPC_GNU
20 %global PEGASUS_EXTRA_CXX_FLAGS_32BIT "-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -m32 -Wno-unused"
21 %global PEGASUS_EXTRA_LINK_FLAGS_32BIT "-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -m32"
22 %else
23 %ifarch s390x zseries
24 %global PEGASUS_HARDWARE_PLATFORM_FOR_32BIT LINUX_ZSERIES_GNU
25 %global PEGASUS_EXTRA_CXX_FLAGS_32BIT "-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m31 -Wno-unused"
26 %global PEGASUS_EXTRA_LINK_FLAGS_32BIT "-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m31"
27 %endif
28 %endif
29 %endif
30
31 %endif
32
33 #
34 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-arch-for-32bit-provider-support.spec
|