postgres_cmake icon indicating copy to clipboard operation
postgres_cmake copied to clipboard

make install-strip

Open AndyColson opened this issue 9 years ago • 1 comments

Or, maybe "make install" can just always strip the binary's? Or two steps, "make strip", "make install"?

AndyColson avatar Feb 11 '16 19:02 AndyColson

You can build with strip -s: CFLAGS="-s -O2" cmake .. -DCMAKE_INSTALL_PREFIX="/usr/local"

dont't forget remove CMakeCache.txt before.

stalkerg avatar Feb 12 '16 16:02 stalkerg