https://bugzilla.redhat.com/show_bug.cgi?id=817193 --- Comment #7 from Rich Mattes <richmattes@xxxxxxxxx> --- Thanks a lot for the input Ralf. I was able to solve all of the issues: - The extra cflags were coming from CMake, since I set the build type to RelWithDebInfo. The default CMAKE_C_FLAGS_RELWITHDEBINFO are "-O2 -g" and they get appended to the optflags. I set the build type to None so that CMake won't insert any extra flags during the build process. - The testsuites were built with a separate makefile which wasn't really friendly to environment variables. I decided to integrate the tests into the CMake-based build using CTest. Now all of the test programs honor the optflags, and they find libccd during linking. I will contribute my ctest patch upstream and see if he is interested. Spec URL: http://rmattes.fedorapeople.org/RPMS/libccd/libccd.spec SRPM URL: http://rmattes.fedorapeople.org/RPMS/libccd/libccd-1.3-2.fc17.src.rpm $ rpmlint libccd.spec ../RPMS/x86_64/libccd-* 3 packages and 1 specfiles checked; 0 errors, 0 warnings. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review