Use same -fno-strict-aliasing option as the RHEL build does

This commit is contained in:
Kalev Lember 2017-02-23 20:52:10 +01:00
parent 60a6dbf2da
commit 1d1157a795

View File

@ -109,6 +109,7 @@ This may be useful for CMYK soft-proofing or for extra device support.
%setup -q %setup -q
%build %build
export CFLAGS='-fno-strict-aliasing %optflags'
# Set ~2 GiB limit so that colprof is forced to work in chunks when # Set ~2 GiB limit so that colprof is forced to work in chunks when
# generating the print profile rather than trying to allocate a 3.1 GiB # generating the print profile rather than trying to allocate a 3.1 GiB
# chunk of RAM to put the entire B-to-A tables in. # chunk of RAM to put the entire B-to-A tables in.