Fix PIC CFLAGS
authorAndrew Deason <adeason@sinenomine.net>
Wed, 16 Feb 2011 21:58:41 +0000 (15:58 -0600)
committerDerrick Brashear <shadow@dementia.org>
Thu, 17 Feb 2011 03:52:58 +0000 (19:52 -0800)
commit4f3b6a5b3c63ee34d65f202730ff2ce68627b2e5
treea3c3cc3e568b0eaa0733d8c7ee0c6a0e8df78efe
parent31e730330849eae7d31c282b24d16ebeea7147ca
Fix PIC CFLAGS

Commit 8eca6a1153eb7768c2f29ea2d48f01f6988cbfe3 just used -fPIC to
generate position-independant code. However, the flag to turn on PIC
varies depending on the compiler, and is not always -fPIC. Just use
SHD_CCRULE instead, which will get us the correct PIC flags.

Change-Id: I61d698587cc3959b35ec27abe3c3b19adab5d8f1
Reviewed-on: http://gerrit.openafs.org/3962
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/cmd/Makefile.in
src/libuafs/Makefile.common.in
src/util/Makefile.in