Compiler flags are no longer honored in 3.x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sakura |
Fix Released
|
Medium
|
David Gómez | ||
sakura (Fedora) |
Fix Released
|
Undecided
|
Bug Description
Sakura 3.x does no longer honor compiler flags. I am building with
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_
+ export FFLAGS
+ LDFLAGS=
+ export LDFLAGS
+ /usr/bin/cmake -DCMAKE_
however, the compiler flags are not honored:
[100%] Building C object CMakeFiles/
/usr/lib64/
Linking C executable src/sakura
/usr/bin/cmake -E cmake_link_script CMakeFiles/
/usr/lib64/
make[2]: Leaving directory `/home/
/usr/bin/cmake -E cmake_progress_
[100%] Built target sakura
This used to work before. The only way I have found to get this working is manually editing CMakeLists.txt.
BTW: IT would be nice if one could specify both CFLAGS and LDFLAGGS.
Changed in sakura: | |
status: | Confirmed → Fix Committed |
Changed in sakura: | |
status: | Fix Committed → Fix Released |
Changed in sakura (Fedora): | |
importance: | Unknown → Undecided |
status: | Unknown → Fix Released |
sakura-3.0.4-1 is not built with $RPM_OPT_FLAGS:
http:// kojipkgs. fedoraproject. org/packages/ sakura/ 3.0.4/1. fc19/data/ logs/x86_ 64/build. log
2.4.2-4 did not have this problem.