disable PIE when checking for PIC default
commit2a9897ddc3f05aa3a52aeb35ea15530ef3584147
authorKevin F. Quinn <kevquinn@gentoo.org>
Tue, 9 Sep 2014 21:41:57 +0000 (9 17:41 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 9 Sep 2014 21:41:57 +0000 (9 17:41 -0400)
treeeea3b3c05d5460dd0e9fd61e9f967c21704a41ba
parent27b390b9b65ce97b034bbfff11d2b01c3af98180
disable PIE when checking for PIC default

When the compiler builds PIEs by default, the configure PIC check is
confused into thinking PIC code is default.  The end result is that
we end up with only PIC being produced.

Run the configure check with -fno-PIE so that we produce PIC & non-PIC
(PIE) objects like normal.

2014-09-09  Kevin F. Quinn  <kevquinn@gentoo.org>

* configure.ac (libc_cv_pic_default): Pass -fno-PIE.
* configure: Regenerated.
configure
configure.ac