Fix ifunc test in configure.ac to make unknown attribute warnings fatal.
authorPeter Griess <pgriess@fb.com>
Tue, 10 Sep 2013 20:33:09 +0000 (15:33 -0500)
committerPeter Griess <pgriess@fb.com>
Tue, 15 Oct 2013 01:46:13 +0000 (18:46 -0700)
commitc6e51ca2fdc103df2fbc630e2c994df776066807
tree3536ebd54bb24a5685769d030900bddae9d4999b
parent1a732b028fb2a55880d0989773550fd4823d4cd2
Fix ifunc test in configure.ac to make unknown attribute warnings fatal.

Summary:
- By default, GCC only warns on unknown attributes. As a result our
FOLLY_HAVE_IFUNC test doesn't actually catch instances where we don't
support this.

Test Plan:
- fbconfig -r folly && fbmake runtests
- ./configure && make check on Ubuntu/FC/Mac

Reviewed By: oyamauchi@fb.com

FB internal diff: D998506
folly/configure.ac