For clarity, my CFLAGS/CXXFLAGS spans multiple lines of make.conf. quazip apparently tries to do some magic to pass this into qmake, but fails to properly escape the unexpected whitespace.
What is your problem exactly? Build error, runtime error, QA warnings re CFLAGS?
Created attachment 436478 [details] build.log Compile error: ***Unknown option -march=haswell Full build.log attached
Please also attach the output of `emerge --info'.
Created attachment 436486 [details] emerge --info
Still happening with 0.7.2?
(In reply to Andreas Sturmlechner from comment #5) > Still happening with 0.7.2? 0.7.2 doesn't build (linking fails) for me, but I think it's unrelated to this bug. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/quazip.dir/JlCompress.cpp.o: warning: relocation against `_ZN10JlCompress11extractFileER6QuaZip7QStringS2_' in readonly section `.text'. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/quazip.dir/unzip.c.o: relocation R_X86_64_PC32 against symbol `unzGoToFirstFile' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
fwiw, I can't reproduce that last error of yours (also GCC-4.9.3).