What steps will reproduce the problem?
1. Run CMake with custom CMAKE_CXX_FLAGS, e.g. cmake -DCMAKE_CXX_FLAGS="-fPIC"
2. Compile via make VERBOSE=1
3. Observe that -fPIC is not in the compiler commands.
What is the expected output? What do you see instead?
The flags passed in should be in the command line.
What version of the product are you using? On what operating system?
r788
Please provide any additional information below.
A patch which simply appends -Wall instead of overwriting the variable is
attached.
Original issue reported on code.google.com by echesl...@gmail.com on 13 Jan 2011 at 8:53
Original issue reported on code.google.com by
echesl...@gmail.com
on 13 Jan 2011 at 8:53Attachments: