aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cpptest.rb
diff options
context:
space:
mode:
authorJack Nagel2011-12-28 17:16:57 -0600
committerJack Nagel2011-12-28 17:16:57 -0600
commit634602d2267f5ff516a97a7a74bafe8c72bd925f (patch)
tree9ccd62481e70fb9e527c13cb7fd1885acc2aaa0f /Library/Formula/cpptest.rb
parentf1f89ce92ef722bb3c8820ec2487abd1c931eef9 (diff)
downloadhomebrew-634602d2267f5ff516a97a7a74bafe8c72bd925f.tar.bz2
git: define NO_R_TO_GCC_LINKER
Inadvertently failing to pass the correct library paths to the linker can cause a build to link against an incorrect version of a library. Some compilers don't pass the runtime path defined with '-Rpath' to the linker. With this defined, paths will be passed to the linker with -Wl,rpath, rather than -R. Apple's gcc-4.0, gcc-4.2, and llvm-gcc do not complain about -R, but it is not documented as far as I can tell, and clang complains vocally about it. As long as they all support the -Wl format, we may as well be safe. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/cpptest.rb')
0 files changed, 0 insertions, 0 deletions