1 s.kodali 1.1 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-arch-for-32bit-provider-support.spec
2 # This is required when BIT_32_PROVIDERS_SUPPORT_FOR_BIT_64_CIMOM is set
3
4 %if %{PEGASUS_32BIT_PROVIDER_SUPPORT}
5
6 %ifarch x86_64
7 %global PEGASUS_HARDWARE_PLATFORM_FOR_32BIT LINUX_IX86_GNU
8 %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"
9 %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"
10 %else
11 %ifarch ppc64 pseries
12 %global PEGASUS_HARDWARE_PLATFORM_FOR_32BIT LINUX_PPC_GNU
13 %global PEGASUS_EXTRA_CXX_FLAGS_32BIT "-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -m32 -Wno-unused"
14 %global PEGASUS_EXTRA_LINK_FLAGS_32BIT "-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -m32"
15 %else
16 %ifarch s390x zseries
17 %global PEGASUS_HARDWARE_PLATFORM_FOR_32BIT LINUX_ZSERIES_GNU
18 %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"
19 %global PEGASUS_EXTRA_LINK_FLAGS_32BIT "-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m31"
20 %endif
21 %endif
22 s.kodali 1.1 %endif
23
24 %endif
25
26 #
27 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-arch-for-32bit-provider-support.spec
|