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
%build
export CFLAGS='-fno-strict-aliasing %optflags'
# 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
# chunk of RAM to put the entire B-to-A tables in.